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