From 6a976067dbd4cec8ddf9b2fa44ff0271f0386518 Mon Sep 17 00:00:00 2001 From: Mathieu Champlon Date: Sun, 22 Mar 2015 22:08:51 +0100 Subject: [PATCH] Removed example compilation for compilers without lambda support --- doc/example/reference.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/example/reference.cpp b/doc/example/reference.cpp index 46a44d7..32769fb 100644 --- a/doc/example/reference.cpp +++ b/doc/example/reference.cpp @@ -747,6 +747,8 @@ BOOST_AUTO_TEST_CASE( demonstrates_enforcing_several_expectation_orders ) //] } +#ifdef MOCK_LAMBDAS + namespace action_example_1 { //[ action_example_1 @@ -773,6 +775,8 @@ BOOST_AUTO_TEST_CASE( demonstrates_configuring_actions ) //] } +#endif + namespace verification_example_1 { //[ verification_example_1