[Boost-bugs] [Boost C++ Libraries] #13013: Boost upgradeable lock - simple swap include error.

Subject: [Boost-bugs] [Boost C++ Libraries] #13013: Boost upgradeable lock - simple swap include error.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-08 01:18:08


#13013: Boost upgradeable lock - simple swap include error.
------------------------------+--------------------------
 Reporter: sprague.a.rick@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.62.0 | Severity: Problem
 Keywords: |
------------------------------+--------------------------
 This worked fine in 1.55 (Ubuntu 14), but 1.62 in Ubuntu 17 has issues:

 Ubuntu 17 (libboost-dev-all 1.62.0.1)

 /usr/include/boost/interprocess/sync/upgradable_lock.hpp:297:8: error:
 â€˜simple_swap’ was not declared in this scope
        (simple_swap)(mp_mutex, other.mp_mutex);
         ^~~~~~~~~~~

 Seems to be missing header:
 #include <boost/interprocess/detail/simple_swap.hpp>

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/13013>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-05-08 01:21:07 UTC