diff --git a/test/function_n_test.cpp b/test/function_n_test.cpp index a560198..3d62bce 100644 --- a/test/function_n_test.cpp +++ b/test/function_n_test.cpp @@ -598,9 +598,9 @@ test_member_functions() BOOST_TEST(f1_2(&one) == 2); BOOST_TEST(f1_2(&five) == 10); - boost::function2 f2(&X::plus); - BOOST_TEST(f2(&one, 3) == 4); - BOOST_TEST(f2(&five, 4) == 9); + boost::function2 f2(&X::plus); + BOOST_TEST(f2(one, 3) == 4); + BOOST_TEST(f2(five, 4) == 9); } int test_main(int, char* []) diff --git a/test/function_test.cpp b/test/function_test.cpp index 9529ede..d735ff2 100644 --- a/test/function_test.cpp +++ b/test/function_test.cpp @@ -598,9 +598,9 @@ test_member_functions() BOOST_TEST(f1_2(&one) == 2); BOOST_TEST(f1_2(&five) == 10); - boost::function f2(&X::plus); - BOOST_TEST(f2(&one, 3) == 4); - BOOST_TEST(f2(&five, 4) == 9); + boost::function f2(&X::plus); + BOOST_TEST(f2(one, 3) == 4); + BOOST_TEST(f2(five, 4) == 9); } int test_main(int, char* [])