diff options
Diffstat (limited to 'libs/phoenix/test/bind/bind_function_object_tests.cpp')
-rw-r--r-- | libs/phoenix/test/bind/bind_function_object_tests.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/phoenix/test/bind/bind_function_object_tests.cpp b/libs/phoenix/test/bind/bind_function_object_tests.cpp index e0cb8e2fc..7e2ee94a9 100644 --- a/libs/phoenix/test/bind/bind_function_object_tests.cpp +++ b/libs/phoenix/test/bind/bind_function_object_tests.cpp @@ -1,7 +1,8 @@ /*============================================================================= Copyright (c) 2001-2007 Joel de Guzman + Copyright (c) 2015 John Fletcher - Distributed under the Boost Software License, Version 1.0. (See accompanying + Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #include <iostream> @@ -118,7 +119,7 @@ main() BOOST_TEST(bind(sqr(), arg1)(i5) == (i5*i5)); BOOST_TEST(bind(fact(), 4)() == 24); BOOST_TEST(bind(fact(), arg1)(i5) == 120); - BOOST_TEST((int)bind(power(), arg1, arg2)(d5, d3) == (int)pow(d5, d3)); + BOOST_TEST((int)bind(power(), arg1, arg2)(d5, d3) == (int)std::pow(d5, d3)); BOOST_TEST((bind(sqr(), arg1) + 5)(i5) == ((i5*i5)+5)); BOOST_TEST(bind(add(), arg1, arg1, arg1, arg1)(i5) == (5+5+5+5)); |