From 6b2a9801efb82c77759faee8e8d4eeab9d93271a Mon Sep 17 00:00:00 2001 From: mat007 Date: Sun, 22 Jul 2012 07:05:55 +0000 Subject: [PATCH] Cleanup git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@494 860be788-9bd5-4423-9f1e-828f051e677b --- turtle/detail/function_impl_template.hpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/turtle/detail/function_impl_template.hpp b/turtle/detail/function_impl_template.hpp index 2557068..2ca36ed 100644 --- a/turtle/detail/function_impl_template.hpp +++ b/turtle/detail/function_impl_template.hpp @@ -11,13 +11,14 @@ #define MOCK_FORMAT(z, n, N) \ << " " << mock::format( t##n ) \ << BOOST_PP_IF(BOOST_PP_EQUAL(N,n), " ", ",") + #define MOCK_CONTEXT \ -boost::unit_test::lazy_ostream::instance() \ - << lazy_context( this ) \ - << '(' BOOST_PP_REPEAT(MOCK_NUM_ARGS, MOCK_FORMAT, \ - BOOST_PP_DEC(MOCK_NUM_ARGS)) \ - << ')' \ - << lazy_expectations( this ) + boost::unit_test::lazy_ostream::instance() \ + << lazy_context( this ) \ + << '(' BOOST_PP_REPEAT(MOCK_NUM_ARGS, MOCK_FORMAT, \ + BOOST_PP_DEC(MOCK_NUM_ARGS)) \ + << ')' \ + << lazy_expectations( this ) namespace mock {