mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fixed build with gcc
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@726 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
cbb4683dde
commit
df6ca7011c
1 changed files with 6 additions and 6 deletions
|
|
@ -86,13 +86,13 @@ namespace detail
|
||||||
template< typename Y >
|
template< typename Y >
|
||||||
void returns( const boost::reference_wrapper< Y >& r )
|
void returns( const boost::reference_wrapper< Y >& r )
|
||||||
{
|
{
|
||||||
set( r );
|
this->set( r );
|
||||||
}
|
}
|
||||||
|
|
||||||
template< typename Value >
|
template< typename Value >
|
||||||
void moves( BOOST_RV_REF( Value ) v )
|
void moves( BOOST_RV_REF( Value ) v )
|
||||||
{
|
{
|
||||||
set( lambda_type::make_move( v_.store( boost::move( v ) ) ) );
|
this->set( lambda_type::make_move( v_.store( boost::move( v ) ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
@ -142,12 +142,12 @@ namespace detail
|
||||||
public:
|
public:
|
||||||
void returns( Result* r )
|
void returns( Result* r )
|
||||||
{
|
{
|
||||||
set( lambda_type::make_val( r ) );
|
this->set( lambda_type::make_val( r ) );
|
||||||
}
|
}
|
||||||
template< typename Y >
|
template< typename Y >
|
||||||
void returns( const boost::reference_wrapper< Y >& r )
|
void returns( const boost::reference_wrapper< Y >& r )
|
||||||
{
|
{
|
||||||
set( r );
|
this->set( r );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -159,7 +159,7 @@ namespace detail
|
||||||
public:
|
public:
|
||||||
action()
|
action()
|
||||||
{
|
{
|
||||||
set( lambda_type::make_nothing() );
|
this->set( lambda_type::make_nothing() );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -192,7 +192,7 @@ namespace detail
|
||||||
template< typename Y >
|
template< typename Y >
|
||||||
void returns( const boost::reference_wrapper< Y >& r )
|
void returns( const boost::reference_wrapper< Y >& r )
|
||||||
{
|
{
|
||||||
set( r );
|
this->set( r );
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue