mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
5983b75343
commit
d5b216db8e
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
namespace constraints_example_7
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,7 @@ BOOST_AUTO_TEST_CASE( class_with_sig_is_functor )
|
||||||
is_functor( sig_functor() );
|
is_functor( sig_functor() );
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef MOCK_NO_LAMBDAS
|
#ifdef MOCK_LAMBDAS
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE( cxx11_lambda_is_functor )
|
BOOST_AUTO_TEST_CASE( cxx11_lambda_is_functor )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@
|
||||||
|
|
||||||
#if !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_NO_LAMBDAS)
|
#if !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_NO_LAMBDAS)
|
||||||
# ifndef MOCK_NO_LAMBDAS
|
# ifndef MOCK_NO_LAMBDAS
|
||||||
# define MOCK_NO_LAMBDAS
|
# define MOCK_LAMBDAS
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue