Fixed shadowed template parameter

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@622 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-04-11 20:26:50 +00:00
parent 7b2a9d99f7
commit 59b9eb8f42

View file

@ -26,7 +26,7 @@ namespace detail
#ifdef MOCK_DECLTYPE #ifdef MOCK_DECLTYPE
template< typename T, typename P > template< typename F, typename P >
struct is_callable struct is_callable
{ {
typedef boost::type_traits::yes_type yes_type; typedef boost::type_traits::yes_type yes_type;
@ -39,7 +39,7 @@ namespace detail
static no_type check( ... ); static no_type check( ... );
typedef boost::mpl::bool_< typedef boost::mpl::bool_<
sizeof( check< T >( 0 ) ) == sizeof( yes_type ) > type; sizeof( check< F >( 0 ) ) == sizeof( yes_type ) > type;
}; };
#endif // MOCK_DECLTYPE #endif // MOCK_DECLTYPE