diff --git a/test/objects/test.hpp b/test/objects/test.hpp index a769c6ef..9786a731 100644 --- a/test/objects/test.hpp +++ b/test/objects/test.hpp @@ -114,7 +114,7 @@ namespace test { x.tag2_ = -1; } - movable& operator=(BOOST_COPY_ASSIGN_REF(movable) x) // Copy assignment + movable& operator=(movable const& x) // Copy assignment { BOOST_TEST(x.tag1_ != -1); tag1_ = x.tag1_; diff --git a/test/unordered/noexcept_tests.cpp b/test/unordered/noexcept_tests.cpp index af098e7a..31fbbddf 100644 --- a/test/unordered/noexcept_tests.cpp +++ b/test/unordered/noexcept_tests.cpp @@ -71,7 +71,7 @@ namespace noexcept_tests { hash_nothrow() { test_throw("Constructor"); } hash_nothrow(hash_nothrow const&) { test_throw("Copy"); } - hash_nothrow& operator=(BOOST_COPY_ASSIGN_REF(hash_nothrow)) + hash_nothrow& operator=(hash_nothrow const&) { test_throw("Assign"); return *this; @@ -120,7 +120,7 @@ namespace noexcept_tests { equal_to_nothrow() { test_throw("Constructor"); } equal_to_nothrow(equal_to_nothrow const&) { test_throw("Copy"); } - equal_to_nothrow& operator=(BOOST_COPY_ASSIGN_REF(equal_to_nothrow)) + equal_to_nothrow& operator=(equal_to_nothrow const&) { test_throw("Assign"); return *this; @@ -366,7 +366,7 @@ namespace noexcept_tests { template class allocator1 { BOOST_COPYABLE_AND_MOVABLE(allocator1) - allocator1 operator=(BOOST_COPY_ASSIGN_REF(allocator1)); + allocator1 operator=(allocator1 const&); allocator1 operator=(allocator1&&); public: @@ -392,7 +392,7 @@ public: template class allocator2 { BOOST_COPYABLE_AND_MOVABLE(allocator2) - allocator2 operator=(BOOST_COPY_ASSIGN_REF(allocator2)); + allocator2 operator=(allocator2 const&); public: typedef T value_type; diff --git a/test/unordered/unnecessary_copy_tests.cpp b/test/unordered/unnecessary_copy_tests.cpp index e1f46ef6..84f4de5c 100644 --- a/test/unordered/unnecessary_copy_tests.cpp +++ b/test/unordered/unnecessary_copy_tests.cpp @@ -64,7 +64,7 @@ namespace unnecessary_copy_tests { } count_copies& operator=( - BOOST_COPY_ASSIGN_REF(count_copies) p) // Copy assignment + count_copies const& p) // Copy assignment { tag_ = p.tag_; ++copies;