Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82317 - trunk/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/cons
From: vicente.botet_at_[hidden]
Date: 2013-01-02 06:17:14


Author: viboes
Date: 2013-01-02 06:17:13 EST (Wed, 02 Jan 2013)
New Revision: 82317
URL: http://svn.boost.org/trac/boost/changeset/82317

Log:
Thread: fix typo on condition BOOST_NO_CXX11_HDR_TUPLE.
Text files modified:
   trunk/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/cons/make_unique_locks_mutex_pass.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/cons/make_unique_locks_mutex_pass.cpp
==============================================================================
--- trunk/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/cons/make_unique_locks_mutex_pass.cpp (original)
+++ trunk/libs/thread/test/sync/mutual_exclusion/locks/unique_lock/cons/make_unique_locks_mutex_pass.cpp 2013-01-02 06:17:13 EST (Wed, 02 Jan 2013)
@@ -15,7 +15,7 @@
 #include <boost/thread/thread.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
-#if ! defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) && defined BOOST_NO_CXX11_HDR_TUPLE && ! defined BOOST_NO_CXX11_RVALUE_REFERENCES
+#if ! defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) && ! defined BOOST_NO_CXX11_HDR_TUPLE && ! defined BOOST_NO_CXX11_RVALUE_REFERENCES
 
 boost::mutex m1;
 boost::mutex m2;
@@ -38,7 +38,7 @@
   time_point t0 = Clock::now();
   time_point t1;
   {
- auto&& _ = boost::make_unique_locks(m1,m2,m3);
+ auto&& _ = boost::make_unique_locks(m1,m2,m3); (void)_;
     t1 = Clock::now();
   }
   ns d = t1 - t0 - ms(250);
@@ -48,7 +48,7 @@
   //time_point t0 = Clock::now();
   //time_point t1;
   {
- auto&& _ = boost::make_unique_locks(m1,m2,m3);
+ auto&& _ = boost::make_unique_locks(m1,m2,m3); (void)_;
     //t1 = Clock::now();
   }
   //ns d = t1 - t0 - ms(250);


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