From 0aa32dc692e6c2f9107418dcf0c9d4c1af6d5045 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 25 Sep 2024 03:07:04 +0300 Subject: [PATCH] Remove remaining uses of BOOST_NO_CXX11_RVALUE_REFERENCES --- test/cpp11_pointer_cast_test.cpp | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/test/cpp11_pointer_cast_test.cpp b/test/cpp11_pointer_cast_test.cpp index 759c4c6..688b34e 100644 --- a/test/cpp11_pointer_cast_test.cpp +++ b/test/cpp11_pointer_cast_test.cpp @@ -9,28 +9,14 @@ // #include - -#include -#include -#include #include - +#include +#include +#include #include #include #include -#if defined( BOOST_NO_CXX11_RVALUE_REFERENCES ) \ - || defined( BOOST_NO_CXX11_HDR_FUNCTIONAL ) \ - || defined( BOOST_NO_CXX11_HDR_UTILITY ) \ - || defined( BOOST_NO_CXX11_LAMBDAS ) \ - || defined( BOOST_NO_CXX11_RVALUE_REFERENCES ) - -// We expect all the features or none of the features to be -// available, since we should be on C++11 -int main() { return 0; } - -#else - namespace { @@ -221,4 +207,3 @@ int main() return boost::report_errors(); } -#endif