|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2007-12-09 14:31:01
Author: danieljames
Date: 2007-12-09 14:31:00 EST (Sun, 09 Dec 2007)
New Revision: 41931
URL: http://svn.boost.org/trac/boost/changeset/41931
Log:
ADL doesn't seem to be working properly on Visual C++ 7.1 when calling swap, so workaround this in the compile tests.
Text files modified:
sandbox/unordered/libs/unordered/test/objects/minimal.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: sandbox/unordered/libs/unordered/test/objects/minimal.hpp
==============================================================================
--- sandbox/unordered/libs/unordered/test/objects/minimal.hpp (original)
+++ sandbox/unordered/libs/unordered/test/objects/minimal.hpp 2007-12-09 14:31:00 EST (Sun, 09 Dec 2007)
@@ -217,7 +217,8 @@
size_type max_size() const { return 1000; }
-#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
+#if defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) || \
+ BOOST_WORKAROUND(MSVC, <= 1300)
public: allocator& operator=(allocator const&) { return *this;}
#else
private: allocator& operator=(allocator const&);
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