diff options
author | Alan Conway <aconway@apache.org> | 2010-08-26 21:12:54 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-08-26 21:12:54 +0000 |
commit | f32145824299cc519690c700bd5ea8117d4c675b (patch) | |
tree | cf883fe9c82498246e352ecb3a18942429d66083 /cpp/src/tests/TimerTest.cpp | |
parent | 9c5d0cf2197a7d8901d3cc2793eb630f17d0d3ee (diff) | |
download | qpid-python-f32145824299cc519690c700bd5ea8117d4c675b.tar.gz |
Give timer tasks a name for logging purposes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@989925 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/TimerTest.cpp')
-rw-r--r-- | cpp/src/tests/TimerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/TimerTest.cpp b/cpp/src/tests/TimerTest.cpp index 1552421ba0..7df94164e0 100644 --- a/cpp/src/tests/TimerTest.cpp +++ b/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() { |