From f04be9827f61039f759bd46f8d39796080844180 Mon Sep 17 00:00:00 2001 From: mat007 Date: Sun, 16 Feb 2014 15:55:14 +0000 Subject: [PATCH] Fixed mock function documentation git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@714 860be788-9bd5-4423-9f1e-828f051e677b --- build/boost/doc/example/reference.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build/boost/doc/example/reference.cpp b/build/boost/doc/example/reference.cpp index 4903886..258112c 100644 --- a/build/boost/doc/example/reference.cpp +++ b/build/boost/doc/example/reference.cpp @@ -434,17 +434,14 @@ BOOST_AUTO_TEST_CASE( demonstrates_instantiating_a_mock_function ) namespace function_example_2 { //[ function_example_2 - MOCK_FUNCTION( __stdcall f, 0, void(), f ) // all parameters must be provided when specifying a different calling convention +MOCK_FUNCTION( __stdcall f, 0, void(), f ) // all parameters must be provided when specifying a different calling convention //] } #elif defined( BOOST_GCC ) namespace function_example_3 { //[ function_example_3 -MOCK_CLASS( mock_class ) -{ - MOCK_FUNCTION( __attribute((stdcall)) f, 0, void() ) -}; +MOCK_FUNCTION( __attribute((stdcall)) f, 0, void(), f ) // all parameters must be provided when specifying a different calling convention //] } #endif