From d327700205da87f31e34d1bbffc46f2f5ca3f604 Mon Sep 17 00:00:00 2001 From: mat007 Date: Sun, 21 Feb 2010 21:04:43 +0000 Subject: [PATCH] Clean-up git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@130 860be788-9bd5-4423-9f1e-828f051e677b --- src/libraries/turtle/placeholder.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/libraries/turtle/placeholder.hpp b/src/libraries/turtle/placeholder.hpp index 789d761..a3be713 100644 --- a/src/libraries/turtle/placeholder.hpp +++ b/src/libraries/turtle/placeholder.hpp @@ -34,10 +34,10 @@ namespace detail : c1_( c1 ) , c2_( c2 ) {} - template< typename Y > - bool operator()( const Y& y ) const + template< typename Actual > + bool operator()( const Actual& actual ) const { - return c1_( y ) && c2_( y ); + return c1_( actual ) && c2_( actual ); } private: Constraint1 c1_; @@ -52,10 +52,10 @@ namespace detail : c1_( c1 ) , c2_( c2 ) {} - template< typename Y > - bool operator()( const Y& y ) const + template< typename Actual > + bool operator()( const Actual& actual ) const { - return c1_( y ) || c2_( y ); + return c1_( actual ) || c2_( actual ); } private: Constraint1 c1_; @@ -69,10 +69,10 @@ namespace detail explicit not_( const Constraint& c ) : c_( c ) {} - template< typename Y > - bool operator()( const Y& y ) const + template< typename Actual > + bool operator()( const Actual& actual ) const { - return ! c_( y ); + return ! c_( actual ); } private: Constraint c_;