Don't use std::move

This commit is contained in:
Flamefire 2018-11-15 18:59:37 +01:00 committed by Alexander Grund
parent e92f52821d
commit 350fe39324

View file

@ -109,17 +109,16 @@ namespace detail
{ {
this->set( this->set(
boost::bind( boost::bind(
&move< Value >, &move< typename boost::remove_reference< Value >::type >,
boost::ref( store( boost::move( v ) ) ) ) ); boost::ref( store( boost::move( v ) ) ) ) );
} }
private: private:
template< typename T > template< typename Value >
static T&& move( T& t ) static BOOST_RV_REF(Value) move( Value& t )
{ {
return std::move( t ); return boost::move( t );
} }
struct value : boost::noncopyable struct value : boost::noncopyable
{ {
virtual ~value() virtual ~value()