|
Boost-Commit : |
From: fmhess_at_[hidden]
Date: 2008-08-26 22:21:53
Author: fmhess
Date: 2008-08-26 22:21:53 EDT (Tue, 26 Aug 2008)
New Revision: 48401
URL: http://svn.boost.org/trac/boost/changeset/48401
Log:
Use ADL for swap.
Text files modified:
sandbox/thread_safe_signals/boost/thread_safe_signals/connection.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: sandbox/thread_safe_signals/boost/thread_safe_signals/connection.hpp
==============================================================================
--- sandbox/thread_safe_signals/boost/thread_safe_signals/connection.hpp (original)
+++ sandbox/thread_safe_signals/boost/thread_safe_signals/connection.hpp 2008-08-26 22:21:53 EDT (Tue, 26 Aug 2008)
@@ -172,7 +172,8 @@
}
void swap(connection &other)
{
- boost::swap(_weakConnectionBody, other._weakConnectionBody);
+ using std::swap;
+ swap(_weakConnectionBody, other._weakConnectionBody);
}
private:
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