Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62721 - in trunk: boost/thread libs/thread/test
From: anthony_at_[hidden]
Date: 2010-06-10 04:22:41


Author: anthonyw
Date: 2010-06-10 04:22:39 EDT (Thu, 10 Jun 2010)
New Revision: 62721
URL: http://svn.boost.org/trac/boost/changeset/62721

Log:
Remove warnings. Fix for issue #3611
Text files modified:
   trunk/boost/thread/future.hpp | 2 ++
   trunk/libs/thread/test/test_futures.cpp | 2 +-
   2 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/thread/future.hpp
==============================================================================
--- trunk/boost/thread/future.hpp (original)
+++ trunk/boost/thread/future.hpp 2010-06-10 04:22:39 EDT (Thu, 10 Jun 2010)
@@ -142,6 +142,8 @@
                 {
                     lock.lock();
                 }
+ private:
+ relocker& operator=(relocker const&);
             };
 
             void do_callback(boost::unique_lock<boost::mutex>& lock)

Modified: trunk/libs/thread/test/test_futures.cpp
==============================================================================
--- trunk/libs/thread/test/test_futures.cpp (original)
+++ trunk/libs/thread/test/test_futures.cpp 2010-06-10 04:22:39 EDT (Thu, 10 Jun 2010)
@@ -556,7 +556,7 @@
     }
 }
 
-void do_nothing_callback(boost::promise<int>& pi)
+void do_nothing_callback(boost::promise<int>& /*pi*/)
 {
     boost::lock_guard<boost::mutex> lk(callback_mutex);
     ++callback_called;


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