diff --git a/test/function_n_test.cpp b/test/function_n_test.cpp index 66fb42f..93b13d3 100644 --- a/test/function_n_test.cpp +++ b/test/function_n_test.cpp @@ -476,7 +476,7 @@ test_zero_args() global_int = 0; v7(); - BOOST_TEST(global_int == 1); + BOOST_TEST(global_int == 2); global_int = 0; v8(); diff --git a/test/function_test.cpp b/test/function_test.cpp index ef9dbdc..e7da119 100644 --- a/test/function_test.cpp +++ b/test/function_test.cpp @@ -476,7 +476,7 @@ test_zero_args() global_int = 0; v7(); - BOOST_TEST(global_int == 1); + BOOST_TEST(global_int == 2); global_int = 0; v8(); diff --git a/test/policy_test.cpp b/test/policy_test.cpp index 85ce7d8..cee8f93 100644 --- a/test/policy_test.cpp +++ b/test/policy_test.cpp @@ -27,8 +27,8 @@ struct counting_policy { static int count; - void precall(function_base*) { count++; } - void postcall(function_base*) { count+=2; } + void precall(const function_base*) { count++; } + void postcall(const function_base*) { count+=2; } }; int counting_policy::count = 0;