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(
|
||||
boost::bind(
|
||||
&move< Value >,
|
||||
&move< typename boost::remove_reference< Value >::type >,
|
||||
boost::ref( store( boost::move( v ) ) ) ) );
|
||||
}
|
||||
|
||||
private:
|
||||
template< typename T >
|
||||
static T&& move( T& t )
|
||||
template< typename Value >
|
||||
static BOOST_RV_REF(Value) move( Value& t )
|
||||
{
|
||||
return std::move( t );
|
||||
return boost::move( t );
|
||||
}
|
||||
|
||||
struct value : boost::noncopyable
|
||||
{
|
||||
virtual ~value()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue