From 10df4772efa51a909ccf73efaec38a5c2c19708a Mon Sep 17 00:00:00 2001 From: mat007 Date: Sun, 22 Jul 2012 07:15:03 +0000 Subject: [PATCH] Refactoring git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@515 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/signature.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/turtle/detail/signature.hpp b/turtle/detail/signature.hpp index bc900e7..8a45c9f 100644 --- a/turtle/detail/signature.hpp +++ b/turtle/detail/signature.hpp @@ -43,19 +43,18 @@ namespace detail { typedef T base_type; }; -} // if an error is generated by the line below it means // the method is ambiguous : use MOCK_METHOD_EXT instead template< typename T > T& ambiguous_method_name_use_MOCK_METHOD_EXT_instead( const T& ); - +} } // mock #define MOCK_SIGNATURE(M) \ mock::detail::signature< \ BOOST_TYPEOF( \ - mock::ambiguous_method_name_use_MOCK_METHOD_EXT_instead( \ + mock::detail::ambiguous_method_name_use_MOCK_METHOD_EXT_instead( \ &base_type::M ) ) \ >::type