Refactoring

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@490 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-07-22 07:04:21 +00:00
parent bd30f8c492
commit c8da21066c

View file

@ -103,7 +103,7 @@ namespace detail
public boost::enable_shared_from_this< function_impl > public boost::enable_shared_from_this< function_impl >
{ {
public: public:
typedef MOCK_ERROR_POLICY< result_type > error_type; typedef MOCK_ERROR_POLICY< R > error_type;
public: public:
function_impl() function_impl()
@ -181,7 +181,7 @@ namespace detail
<< ")" \ << ")" \
<< lazy_expectations( this ) << lazy_expectations( this )
result_type operator()( R operator()(
BOOST_PP_ENUM_BINARY_PARAMS(MOCK_NUM_ARGS, T, t) ) const BOOST_PP_ENUM_BINARY_PARAMS(MOCK_NUM_ARGS, T, t) ) const
{ {
valid_ = false; valid_ = false;