summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/TimerTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-08-26 21:12:54 +0000
committerAlan Conway <aconway@apache.org>2010-08-26 21:12:54 +0000
commitf5382b7e30d4d2847f7e24978808d063ec7f1f3c (patch)
treec6fc33b8b2a05fa1f7441d0b810691af3bc09bf7 /qpid/cpp/src/tests/TimerTest.cpp
parent74fd1b332592f56d04b977b93318d50694b7ae50 (diff)
downloadqpid-python-f5382b7e30d4d2847f7e24978808d063ec7f1f3c.tar.gz
Give timer tasks a name for logging purposes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@989925 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/TimerTest.cpp')
-rw-r--r--qpid/cpp/src/tests/TimerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/TimerTest.cpp b/qpid/cpp/src/tests/TimerTest.cpp
index 1552421ba0..7df94164e0 100644
--- a/qpid/cpp/src/tests/TimerTest.cpp
+++ b/qpid/cpp/src/tests/TimerTest.cpp
@@ -60,7 +60,7 @@ class TestTask : public TimerTask
public:
TestTask(Duration timeout, Counter& _counter)
- : TimerTask(timeout), start(now()), expected(timeout), end(start), fired(false), counter(_counter) {}
+ : TimerTask(timeout, "Test"), start(now()), expected(timeout), end(start), fired(false), counter(_counter) {}
void fire()
{