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 | 0844144e5b93bfd25be1d5ebb3d43bc789b49a29 (patch) | |
tree | cf883fe9c82498246e352ecb3a18942429d66083 /cpp/src/tests/TimerTest.cpp | |
parent | 63ad7500ad6d7a98a046d31e3d8d0280cfb754d8 (diff) | |
download | qpid-python-0844144e5b93bfd25be1d5ebb3d43bc789b49a29.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() { |