From c8da21066cfda752a52349d82e03cd48689ace7f Mon Sep 17 00:00:00 2001 From: mat007 Date: Sun, 22 Jul 2012 07:04:21 +0000 Subject: [PATCH] Refactoring git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@490 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/function_template.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/turtle/detail/function_template.hpp b/turtle/detail/function_template.hpp index e6b9f25..d1ce2bb 100644 --- a/turtle/detail/function_template.hpp +++ b/turtle/detail/function_template.hpp @@ -103,7 +103,7 @@ namespace detail public boost::enable_shared_from_this< function_impl > { public: - typedef MOCK_ERROR_POLICY< result_type > error_type; + typedef MOCK_ERROR_POLICY< R > error_type; public: function_impl() @@ -181,7 +181,7 @@ namespace detail << ")" \ << lazy_expectations( this ) - result_type operator()( + R operator()( BOOST_PP_ENUM_BINARY_PARAMS(MOCK_NUM_ARGS, T, t) ) const { valid_ = false;