diff --git a/doc/move.qbk b/doc/move.qbk index 50be531..a47c27f 100644 --- a/doc/move.qbk +++ b/doc/move.qbk @@ -762,13 +762,6 @@ Many thanks to all boosters that have tested, reviewed and improved the library. [section:release_notes Release Notes] -[section:release_notes_boost_1_62 Boost 1.62 Release] - -* Fixed bugs: - * [@https://github.com/boostorg/move/pull/9 Git Pull #9: ['"Fix assignment of move-and-copy emulated classes"]], - -[endsect] - [section:release_notes_boost_1_61 Boost 1.61 Release] * Experimental: asymptotically optimal bufferless merge and sort algorithms: [funcref boost::movelib::adaptive_merge adaptive_merge] diff --git a/include/boost/move/core.hpp b/include/boost/move/core.hpp index c32c194..1dd8a8c 100644 --- a/include/boost/move/core.hpp +++ b/include/boost/move/core.hpp @@ -261,7 +261,7 @@ #define BOOST_COPYABLE_AND_MOVABLE(TYPE)\ public:\ BOOST_MOVE_FORCEINLINE TYPE& operator=(TYPE &t)\ - { this->operator=(*BOOST_MOVE_TO_RV_CAST(const ::boost::rv*, &t)); return *this;}\ + { this->operator=(const_cast(t)); return *this;}\ public:\ BOOST_MOVE_FORCEINLINE operator ::boost::rv&() \ { return *BOOST_MOVE_TO_RV_CAST(::boost::rv*, this); }\