mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Removed duplication
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@720 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
9c859bae5e
commit
598ce50405
1 changed files with 1 additions and 2 deletions
|
|
@ -78,8 +78,7 @@ namespace detail
|
||||||
template< typename Value >
|
template< typename Value >
|
||||||
void returns( Value* v )
|
void returns( Value* v )
|
||||||
{
|
{
|
||||||
f_ = lambda_type::make_ref(
|
returns( result_type( v ) );
|
||||||
boost::ref( v_.store( result_type( v ) ) ) );
|
|
||||||
}
|
}
|
||||||
template< typename Y >
|
template< typename Y >
|
||||||
void returns( const boost::reference_wrapper< Y >& r )
|
void returns( const boost::reference_wrapper< Y >& r )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue