summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/QA/ClientTest')
-rw-r--r--Swiften/QA/ClientTest/ClientTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/QA/ClientTest/ClientTest.cpp b/Swiften/QA/ClientTest/ClientTest.cpp
index 01b9647..b628a8d 100644
--- a/Swiften/QA/ClientTest/ClientTest.cpp
+++ b/Swiften/QA/ClientTest/ClientTest.cpp
@@ -45,8 +45,8 @@ int main(int, char**) {
{
boost::shared_ptr<Timer> timer(new Timer(10000));
- timer.onTick.connect(boost::bind(&SimpleEventLoop::stop, &eventLoop));
- timer.start();
+ timer->onTick.connect(boost::bind(&SimpleEventLoop::stop, &eventLoop));
+ timer->start();
eventLoop.run();
}