mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Don't use std::move
This commit is contained in:
parent
e92f52821d
commit
350fe39324
1 changed files with 4 additions and 5 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue