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:
mat007 2014-04-26 07:06:20 +00:00
parent 9c859bae5e
commit 598ce50405

View file

@ -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 )