Re: [Boost-bugs] [Boost C++ Libraries] #2501: upgrade_to_unique_lock doesn't compile on C++0x mode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2501: upgrade_to_unique_lock doesn't compile on C++0x mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-05 15:51:02


#2501: upgrade_to_unique_lock doesn't compile on C++0x mode
-----------------------------------+----------------------------------------
  Reporter: Rodolfo Lima | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: Boost 1.38.0 | Component: thread
   Version: Boost Release Branch | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------

Comment(by Jonathan Wakely <jwakely.boost_at_[hidden]>):

 The last error is due to a trivial typo fixed by
 {{{
 --- boost-1_39/boost/thread/locks.hpp
 +++ boost/thread/locks.hpp
 @@ -772,7 +772,7 @@
          other.is_locked=false;
          if(is_locked)
          {
 - m.unlock_upgrade_and_lock();
 + m->unlock_upgrade_and_lock();
          }
      }
  #else
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2501#comment:2>
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-02-16 18:50:00 UTC