From 598ce50405f03ee8772113ff65880574419ff99a Mon Sep 17 00:00:00 2001 From: mat007 Date: Sat, 26 Apr 2014 07:06:20 +0000 Subject: [PATCH] Removed duplication git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@720 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/action.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/turtle/detail/action.hpp b/turtle/detail/action.hpp index 321d359..35b1dda 100644 --- a/turtle/detail/action.hpp +++ b/turtle/detail/action.hpp @@ -78,8 +78,7 @@ namespace detail template< typename Value > void returns( Value* v ) { - f_ = lambda_type::make_ref( - boost::ref( v_.store( result_type( v ) ) ) ); + returns( result_type( v ) ); } template< typename Y > void returns( const boost::reference_wrapper< Y >& r )