diff options
author | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-27 01:13:55 +0100 |
---|---|---|
committer | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-27 01:13:55 +0100 |
commit | c01180b74cc111db70753b29c90ce9016b187c8f (patch) | |
tree | a25d721468e027f5f78d5f86f759c4fca7877483 /test | |
parent | Debug signals attempted (diff) | |
download | flatland-c01180b74cc111db70753b29c90ce9016b187c8f.tar.gz flatland-c01180b74cc111db70753b29c90ce9016b187c8f.zip |
Small fix T& -> T*
Diffstat (limited to 'test')
-rw-r--r-- | test/signal_test.cpp | 2 | ||||
-rw-r--r-- | test/task_test.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/signal_test.cpp b/test/signal_test.cpp index 76ab35b..4dcb635 100644 --- a/test/signal_test.cpp +++ b/test/signal_test.cpp @@ -44,7 +44,7 @@ public: c_listener(channel::ptr chan) { - lis = chan->connect(&c_listener::method_listener, *this); + lis = chan->connect(&c_listener::method_listener, this); } void method_listener(const object *o, signal::package msg) diff --git a/test/task_test.cpp b/test/task_test.cpp index 04bb23d..1db5098 100644 --- a/test/task_test.cpp +++ b/test/task_test.cpp @@ -16,7 +16,7 @@ private: public: message(job& job) { // add an example job - mytask = job.delegate_task(&message::print_motd, *this); + mytask = job.delegate_task(&message::print_motd, this); } void print_date() { |