Fixed lambdas conditional compilation

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@754 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2014-05-31 12:15:38 +00:00
parent 5983b75343
commit d5b216db8e
3 changed files with 3 additions and 3 deletions

View file

@ -680,7 +680,7 @@ BOOST_AUTO_TEST_CASE( demonstrates_adding_a_custom_constraint_with_boost_phoenix
//]
}
#ifndef MOCK_NO_LAMBDAS
#ifdef MOCK_LAMBDAS
namespace constraints_example_7
{

View file

@ -142,7 +142,7 @@ BOOST_AUTO_TEST_CASE( class_with_sig_is_functor )
is_functor( sig_functor() );
}
#ifndef MOCK_NO_LAMBDAS
#ifdef MOCK_LAMBDAS
BOOST_AUTO_TEST_CASE( cxx11_lambda_is_functor )
{

View file

@ -94,7 +94,7 @@
#if !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_NO_LAMBDAS)
# ifndef MOCK_NO_LAMBDAS
# define MOCK_NO_LAMBDAS
# define MOCK_LAMBDAS
# endif
#endif