forked from boostorg/unordered
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]
This commit is contained in:
@@ -217,7 +217,8 @@ namespace minimal
|
|||||||
|
|
||||||
size_type max_size() const { return 1000; }
|
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;}
|
public: allocator& operator=(allocator const&) { return *this;}
|
||||||
#else
|
#else
|
||||||
private: allocator& operator=(allocator const&);
|
private: allocator& operator=(allocator const&);
|
||||||
|
Reference in New Issue
Block a user