Removed MOCK_METHOD_EXT from disambiguation helper

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@617 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-04-11 16:23:09 +00:00
parent 1de757ee5c
commit 1f767bc1a4

View file

@ -45,16 +45,17 @@ namespace detail
};
// if an error is generated by the line below it means
// the method is ambiguous : use MOCK_METHOD_EXT instead
// the method is ambiguous : specify its signature to
// disambiguate
template< typename T >
T& ambiguous_method_name_use_MOCK_METHOD_EXT_instead( const T& );
T& ambiguous_method_requires_to_specify_signature( const T& );
}
} // mock
#define MOCK_SIGNATURE(M) \
mock::detail::signature< \
BOOST_TYPEOF( \
mock::detail::ambiguous_method_name_use_MOCK_METHOD_EXT_instead( \
mock::detail::ambiguous_method_requires_to_specify_signature( \
&base_type::M ) ) \
>::type