diff --git a/include/boost/unordered_map.hpp b/include/boost/unordered_map.hpp index 22119804..c172881f 100644 --- a/include/boost/unordered_map.hpp +++ b/include/boost/unordered_map.hpp @@ -126,11 +126,13 @@ namespace boost { } +#if !BOOST_WORKAROUND(__BORLANDC__, < 0x0593) unordered_map& operator=(unordered_map x) { base.move(x.base); return *this; } +#endif #endif private: @@ -509,12 +511,14 @@ namespace boost { } +#if !BOOST_WORKAROUND(__BORLANDC__, < 0x0593) unordered_multimap& operator=(unordered_multimap x) { base.move(x.base); return *this; } #endif +#endif private: diff --git a/include/boost/unordered_set.hpp b/include/boost/unordered_set.hpp index b3c645ff..5acdf55b 100644 --- a/include/boost/unordered_set.hpp +++ b/include/boost/unordered_set.hpp @@ -123,11 +123,13 @@ namespace boost { } +#if !BOOST_WORKAROUND(__BORLANDC__, < 0x0593) unordered_set& operator=(unordered_set x) { base.move(x.base); return *this; } +#endif #endif private: @@ -478,11 +480,13 @@ namespace boost { } +#if !BOOST_WORKAROUND(__BORLANDC__, < 0x0593) unordered_multiset& operator=(unordered_multiset x) { base.move(x.base); return *this; } +#endif #endif private: