$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r53940 - branches/release/boost/signals2
From: fmhess_at_[hidden]
Date: 2009-06-15 13:42:49
Author: fmhess
Date: 2009-06-15 13:42:48 EDT (Mon, 15 Jun 2009)
New Revision: 53940
URL: http://svn.boost.org/trac/boost/changeset/53940
Log:
Merged [53793] to release.
Text files modified: 
   branches/release/boost/signals2/connection.hpp |     6 ++++++                                  
   1 files changed, 6 insertions(+), 0 deletions(-)
Modified: branches/release/boost/signals2/connection.hpp
==============================================================================
--- branches/release/boost/signals2/connection.hpp	(original)
+++ branches/release/boost/signals2/connection.hpp	2009-06-15 13:42:48 EDT (Mon, 15 Jun 2009)
@@ -228,6 +228,12 @@
       scoped_connection(const scoped_connection &other);
       scoped_connection& operator=(const scoped_connection &rhs);
     };
+    // Sun 5.9 compiler doesn't find the swap for base connection class when
+    // arguments are scoped_connection, so we provide this explicitly.
+    inline void swap(scoped_connection &conn1, scoped_connection &conn2)
+    {
+      conn1.swap(conn2);
+    }
   }
 }