diff --git a/test/function_n_test.cpp b/test/function_n_test.cpp index 396d4ff..a560198 100644 --- a/test/function_n_test.cpp +++ b/test/function_n_test.cpp @@ -598,13 +598,12 @@ 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* []) +int test_main(int, char* []) { test_zero_args(); test_one_arg(); diff --git a/test/function_test.cpp b/test/function_test.cpp index 976d427..9529ede 100644 --- a/test/function_test.cpp +++ b/test/function_test.cpp @@ -598,13 +598,12 @@ 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* []) +int test_main(int, char* []) { test_zero_args(); test_one_arg();