|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53860 - sandbox/monotonic/boost/monotonic
From: christian.schladetsch_at_[hidden]
Date: 2009-06-13 03:50:35
Author: cschladetsch
Date: 2009-06-13 03:50:35 EDT (Sat, 13 Jun 2009)
New Revision: 53860
URL: http://svn.boost.org/trac/boost/changeset/53860
Log:
removed reference to boost::swap
Text files modified:
sandbox/monotonic/boost/monotonic/allocator.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/monotonic/boost/monotonic/allocator.h
==============================================================================
--- sandbox/monotonic/boost/monotonic/allocator.h (original)
+++ sandbox/monotonic/boost/monotonic/allocator.h 2009-06-13 03:50:35 EDT (Sat, 13 Jun 2009)
@@ -8,7 +8,7 @@
#include <boost/monotonic/storage_base.h>
#include <boost/monotonic/inline_storage.h>
#include <boost/assert.hpp>
-#include <boost/swap.hpp>
+//#include <boost/swap.hpp>
#include <boost/type_traits/has_trivial_constructor.hpp>
#include <boost/type_traits/has_trivial_destructor.hpp>
@@ -143,7 +143,7 @@
void swap(allocator<T> &other)
{
- boost::swap(storage, other.storage);
+ std::swap(storage, other.storage);
}
friend bool operator==(allocator<T> const &A, allocator<T> const &B) { return A.storage == B.storage; }
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