summaryrefslogtreecommitdiff
path: root/tests/test_trackable_move.cc
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-03-07 11:38:52 +0100
committerMurray Cumming <murrayc@murrayc.com>2016-03-10 13:50:29 +0100
commit0d304b484918d607ffbbc81696a9e3321dff4ad0 (patch)
treeab69a8f17ef1cfe5f5eed783a2c366bd4f026076 /tests/test_trackable_move.cc
parent97df7e3637af7355b51db89e5ebf119742f23681 (diff)
downloadsigc++-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_trackable_move.cc')
-rw-r--r--tests/test_trackable_move.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_trackable_move.cc b/tests/test_trackable_move.cc
index 6ed2e26..d42b9c3 100644
--- a/tests/test_trackable_move.cc
+++ b/tests/test_trackable_move.cc
@@ -61,7 +61,7 @@ int main(int argc, char* argv[])
{
my_class t;
t.i = 10;
- sl = sigc::mem_fun(&t, &my_class::foo);
+ sl = sigc::mem_fun(t, &my_class::foo);
sl();
util->check_result(result_stream, "10");
@@ -70,7 +70,7 @@ int main(int argc, char* argv[])
t2.i = 15;
result_stream.clear();
- sl = sigc::mem_fun(&t2, &my_class::foo);
+ sl = sigc::mem_fun(t2, &my_class::foo);
sl();
util->check_result(result_stream, "15");