From cc0a24a93901d694919e991e1eae6ce32e18bc3f Mon Sep 17 00:00:00 2001 From: mat007 Date: Wed, 1 Aug 2012 11:19:42 +0000 Subject: [PATCH] Trying to work around spurious warning with gcc git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@543 860be788-9bd5-4423-9f1e-828f051e677b --- test/test_integration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_integration.cpp b/test/test_integration.cpp index 7740412..3572110 100644 --- a/test/test_integration.cpp +++ b/test/test_integration.cpp @@ -405,7 +405,7 @@ namespace BOOST_AUTO_TEST_CASE( constraints_and_arguments_are_serialized_lazily ) { - MOCK_FUNCTOR( f, void( custom_argument ) ); + MOCK_FUNCTOR( f, void( const custom_argument& ) ); MOCK_EXPECT( f ).with( custom_constraint() ); f( custom_argument() ); BOOST_CHECK( ! serialized );