mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
7b2a9d99f7
commit
59b9eb8f42
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue