From 0d304b484918d607ffbbc81696a9e3321dff4ad0 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Mon, 7 Mar 2016 11:38:52 +0100 Subject: mem_fun(): Remove the T_obj* overloads. So you would, for instance, always call sigc::mem_fun(*this, ...) instead of sigc::mem_fun(this, ...). Bug #763215 --- tests/test_mem_fun.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/test_mem_fun.cc') diff --git a/tests/test_mem_fun.cc b/tests/test_mem_fun.cc index b8fe8b9..2d8d3a3 100644 --- a/tests/test_mem_fun.cc +++ b/tests/test_mem_fun.cc @@ -134,26 +134,26 @@ int main(int argc, char* argv[]) sigc::mem_fun(t, &test::foo)(9); util->check_result(result_stream, "test::foo(short 9)"); - sigc::mem_fun(&t, &test::foo)(9); + sigc::mem_fun(t, &test::foo)(9); util->check_result(result_stream, "test::foo(short 9)"); sigc::mem_fun(t, &test::foo_const)(9); util->check_result(result_stream, "test::foo_const(int 9)"); - sigc::mem_fun(&t, &test::foo_const)(9); + sigc::mem_fun(t, &test::foo_const)(9); util->check_result(result_stream, "test::foo_const(int 9)"); sigc::mem_fun(t, &test::foo_volatile)(9); util->check_result(result_stream, "test::foo_volatile(float 9)"); - sigc::mem_fun(&t, &test::foo_volatile)(9); + sigc::mem_fun(t, &test::foo_volatile)(9); util->check_result(result_stream, "test::foo_volatile(float 9)"); #if ENABLE_TEST_OF_OVERLOADED_FUNCTIONS sigc::mem_fun(t, &test::foo_overloaded)(9, 10); util->check_result(result_stream, "test::foo_overloaded(int 9, int 10)"); - sigc::mem_fun(&t, &test::foo_overloaded)(9, 10); + sigc::mem_fun(t, &test::foo_overloaded)(9, 10); util->check_result(result_stream, "test::foo_overloaded(int 9, int 10)"); #endif } -- cgit v1.2.1