diff options
author | Murray Cumming <murrayc@murrayc.com> | 2016-03-07 11:38:52 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2016-03-10 13:50:29 +0100 |
commit | 0d304b484918d607ffbbc81696a9e3321dff4ad0 (patch) | |
tree | ab69a8f17ef1cfe5f5eed783a2c366bd4f026076 /tests/test_mem_fun.cc | |
parent | 97df7e3637af7355b51db89e5ebf119742f23681 (diff) | |
download | sigc++-0d304b484918d607ffbbc81696a9e3321dff4ad0.tar.gz |
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
Diffstat (limited to 'tests/test_mem_fun.cc')
-rw-r--r-- | tests/test_mem_fun.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |