|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63650 - trunk/boost/thread
From: anthony_at_[hidden]
Date: 2010-07-05 10:35:46
Author: anthonyw
Date: 2010-07-05 10:35:45 EDT (Mon, 05 Jul 2010)
New Revision: 63650
URL: http://svn.boost.org/trac/boost/changeset/63650
Log:
Added overload for swap member function that takes an lvalue reference
in all cases
Text files modified:
trunk/boost/thread/locks.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/thread/locks.hpp
==============================================================================
--- trunk/boost/thread/locks.hpp (original)
+++ trunk/boost/thread/locks.hpp 2010-07-05 10:35:45 EDT (Mon, 05 Jul 2010)
@@ -1041,15 +1041,15 @@
return *this;
}
- void swap(try_lock_wrapper& other)
- {
- base::swap(other);
- }
void swap(detail::thread_move_t<try_lock_wrapper<Mutex> > other)
{
base::swap(*other);
}
#endif
+ void swap(try_lock_wrapper& other)
+ {
+ base::swap(other);
+ }
void lock()
{
base::lock();
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