From d18cc38ac11694ca2d1b2796836f50f7cecdee18 Mon Sep 17 00:00:00 2001 From: mat007 Date: Sun, 22 Jul 2012 07:03:07 +0000 Subject: [PATCH] Cleanup git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@487 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/function_template.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/turtle/detail/function_template.hpp b/turtle/detail/function_template.hpp index beecd68..2d328cb 100644 --- a/turtle/detail/function_template.hpp +++ b/turtle/detail/function_template.hpp @@ -182,7 +182,7 @@ namespace mock << "(" BOOST_PP_REPEAT(n, MOCK_FORMAT, BOOST_PP_DEC(n)) \ << ")" \ << lazy_expectations( this ) -#define MOCK_INVOKE(z, n, A) \ +#define MOCK_INVOKE(n, A) \ { \ valid_ = false; \ for( expectations_cit it = expectations_.begin(); \ @@ -212,10 +212,10 @@ namespace mock result_type operator()( BOOST_PP_ENUM_BINARY_PARAMS(MOCK_NUM_ARGS, T, t) ) const - MOCK_INVOKE(, MOCK_NUM_ARGS, error_type::abort()) + MOCK_INVOKE(MOCK_NUM_ARGS, error_type::abort()) void test() const - MOCK_INVOKE(, 0,) + MOCK_INVOKE(0,) #undef MOCK_FORMAT #undef MOCK_OPERATOR