From 59b9eb8f42e191dec03085486cad33570006f662 Mon Sep 17 00:00:00 2001 From: mat007 Date: Thu, 11 Apr 2013 20:26:50 +0000 Subject: [PATCH] Fixed shadowed template parameter git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@622 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/is_functor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/turtle/detail/is_functor.hpp b/turtle/detail/is_functor.hpp index e4d46bf..c2007b0 100644 --- a/turtle/detail/is_functor.hpp +++ b/turtle/detail/is_functor.hpp @@ -26,7 +26,7 @@ namespace detail #ifdef MOCK_DECLTYPE - template< typename T, typename P > + template< typename F, typename P > struct is_callable { typedef boost::type_traits::yes_type yes_type; @@ -39,7 +39,7 @@ namespace detail static no_type check( ... ); typedef boost::mpl::bool_< - sizeof( check< T >( 0 ) ) == sizeof( yes_type ) > type; + sizeof( check< F >( 0 ) ) == sizeof( yes_type ) > type; }; #endif // MOCK_DECLTYPE