Boost logo

Boost-Commit :

From: nielsdekker_at_[hidden]
Date: 2008-04-27 17:09:50


Author: niels_dekker
Date: 2008-04-27 17:09:50 EDT (Sun, 27 Apr 2008)
New Revision: 44826
URL: http://svn.boost.org/trac/boost/changeset/44826

Log:
Replaced "using std::swap" by "using boost::swap" within optional::swap member function, hoping to fix GCC test failures, as mentioned at http://article.gmane.org/gmane.comp.lib.boost.devel/174350 "Re: [optional] problems with swap()"
Text files modified:
   trunk/boost/optional/optional.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/optional/optional.hpp
==============================================================================
--- trunk/boost/optional/optional.hpp (original)
+++ trunk/boost/optional/optional.hpp 2008-04-27 17:09:50 EDT (Sun, 27 Apr 2008)
@@ -10,7 +10,7 @@
 // fernando_cacciola_at_[hidden]
 //
 // Revisions:
-// 25 Apr 2008 (improved swap) Fernando Cacciola, Niels Dekker, Thorsten Ottosen
+// 27 Apr 2008 (improved swap) Fernando Cacciola, Niels Dekker, Thorsten Ottosen
 //
 #ifndef BOOST_OPTIONAL_OPTIONAL_FLC_19NOV2002_HPP
 #define BOOST_OPTIONAL_OPTIONAL_FLC_19NOV2002_HPP
@@ -579,7 +579,7 @@
     void swap( optional & arg )
       {
         // allow for Koenig lookup
- using std::swap ;
+ using boost::swap ;
         swap(*this, arg);
       }
 


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