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()"

[SVN r44826]
This commit is contained in:
Niels Dekker
2008-04-27 21:09:50 +00:00
parent a4572497be
commit 74674531c8

View File

@ -10,7 +10,7 @@
// fernando_cacciola@hotmail.com
//
// 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 @@ class optional : public optional_detail::optional_base<T>
void swap( optional & arg )
{
// allow for Koenig lookup
using std::swap ;
using boost::swap ;
swap(*this, arg);
}