Remove BOOST_NO_CXX11_RVALUE_REFERENCES workarounds

This commit is contained in:
Peter Dimov
2024-01-27 07:21:54 +02:00
parent c9357b6819
commit a9a0f90bc2
3 changed files with 1 additions and 22 deletions

View File

@@ -754,7 +754,6 @@ static void test_move_semantics()
BOOST_CHECK(!f1.empty());
BOOST_CHECK(global_int == 1);
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
// Testing rvalue constructors
f1_type f2(static_cast<f1_type&&>(f1));
BOOST_CHECK(f1.empty());
@@ -796,8 +795,6 @@ static void test_move_semantics()
BOOST_CHECK(global_int == 5);
f4 = static_cast<f1_type&&>(f5);
BOOST_CHECK(global_int == 4);
#endif
}
int main()