From 3e99412c02b1451ede60b522db0d7a86e2b520b9 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Wed, 29 Jan 2014 20:19:41 +0100 Subject: [PATCH] [index] varray: templated rvref workaround replaced with the fixed Boost.Move macro --- include/boost/geometry/index/detail/varray.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/boost/geometry/index/detail/varray.hpp b/include/boost/geometry/index/detail/varray.hpp index a09a71283..f736a9db9 100644 --- a/include/boost/geometry/index/detail/varray.hpp +++ b/include/boost/geometry/index/detail/varray.hpp @@ -363,12 +363,7 @@ public: //! @par Complexity //! Linear O(N). template -// TEMPORARY WORKAROUND -#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) - varray & operator=(::boost::rv< varray > const& other) -#else - varray & operator=(varray const& other) -#endif + varray & operator=(BOOST_COPY_ASSIGN_REF_2_TEMPL_ARGS(varray, value_type, C) other) { this->assign(other.begin(), other.end()); // may throw