From e748c34dfd42a75381be7c4b3dd30d31082cd8e9 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 9 Dec 2007 19:31:00 +0000 Subject: [PATCH] ADL doesn't seem to be working properly on Visual C++ 7.1 when calling swap, so workaround this in the compile tests. [SVN r41931] --- test/objects/minimal.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/objects/minimal.hpp b/test/objects/minimal.hpp index a0312fc0..2932b387 100644 --- a/test/objects/minimal.hpp +++ b/test/objects/minimal.hpp @@ -217,7 +217,8 @@ namespace minimal 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&);