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