Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82367 - trunk/boost/thread
From: vicente.botet_at_[hidden]
Date: 2013-01-05 17:54:56


Author: viboes
Date: 2013-01-05 17:54:55 EST (Sat, 05 Jan 2013)
New Revision: 82367
URL: http://svn.boost.org/trac/boost/changeset/82367

Log:
Thread: constraint make_unique_locks when BOOST_NO_CXX11_RVALUE_REFERENCES is not defined
Text files modified:
   trunk/boost/thread/lock_factories.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/thread/lock_factories.hpp
==============================================================================
--- trunk/boost/thread/lock_factories.hpp (original)
+++ trunk/boost/thread/lock_factories.hpp 2013-01-05 17:54:55 EST (Sat, 05 Jan 2013)
@@ -39,7 +39,7 @@
   {
     return unique_lock<Lockable> (mtx, try_to_lock);
   }
-#if ! defined(BOOST_NO_CXX11_HDR_TUPLE)
+#if ! defined(BOOST_NO_CXX11_HDR_TUPLE) && ! defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
 
 #if ! defined BOOST_NO_CXX11_VARIADIC_TEMPLATES
   template <typename ...Lockable>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk