diff --git a/bench/detail/varray.hpp b/bench/detail/varray.hpp index 80f76b6..4553c47 100644 --- a/bench/detail/varray.hpp +++ b/bench/detail/varray.hpp @@ -235,7 +235,7 @@ class varray BOOST_COPYABLE_AND_MOVABLE(varray) -#ifdef BOOST_NO_RVALUE_REFERENCES +#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES public: template varray & operator=(varray & sv) @@ -422,7 +422,7 @@ public: //! Linear O(N). template // TEMPORARY WORKAROUND -#if defined(BOOST_NO_RVALUE_REFERENCES) +#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) varray & operator=(::boost::rv< varray > const& other) #else varray & operator=(varray const& other) diff --git a/bench/detail/varray_util.hpp b/bench/detail/varray_util.hpp index 8a97142..9eac6a8 100644 --- a/bench/detail/varray_util.hpp +++ b/bench/detail/varray_util.hpp @@ -537,8 +537,8 @@ void construct(DisableTrivialInit const&, #else // !BOOST_NO_CXX11_VARIADIC_TEMPLATES -// BOOST_NO_RVALUE_REFERENCES -> P0 const& p0 -// !BOOST_NO_RVALUE_REFERENCES -> P0 && p0 +// BOOST_NO_CXX11_RVALUE_REFERENCES -> P0 const& p0 +// !BOOST_NO_CXX11_RVALUE_REFERENCES -> P0 && p0 // which means that version with one parameter may take V const& v #define BOOST_CONTAINER_VARRAY_UTIL_CONSTRUCT_CODE(N) \ diff --git a/bench/varray.hpp b/bench/varray.hpp index 335c33f..caac4af 100644 --- a/bench/varray.hpp +++ b/bench/varray.hpp @@ -200,7 +200,7 @@ public: //! Linear O(N). template // TEMPORARY WORKAROUND -#if defined(BOOST_NO_RVALUE_REFERENCES) +#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) varray & operator=(::boost::rv< varray > const& other) #else varray & operator=(varray const& other)