summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Timer.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-04-07 20:59:02 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-04-07 20:59:02 +0000
commitb85ed9344b09b1db318ced3ac7026f6211974292 (patch)
treecb9a619f0678a184ea56d5f8cb2624c0ed0bd9b8 /cpp/src/qpid/broker/Timer.cpp
parent7b6b7cb9e94b906eedf416fb2d4e72124f757329 (diff)
downloadqpid-python-b85ed9344b09b1db318ced3ac7026f6211974292.tar.gz
Fixed time classes for some changes that misunderstood how they are supposed
to be used (and documented them better to hopefully avoid this in the future) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645685 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Timer.cpp')
-rw-r--r--cpp/src/qpid/broker/Timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Timer.cpp b/cpp/src/qpid/broker/Timer.cpp
index 33261dad6e..9005a7cd6e 100644
--- a/cpp/src/qpid/broker/Timer.cpp
+++ b/cpp/src/qpid/broker/Timer.cpp
@@ -36,7 +36,7 @@ TimerTask::TimerTask(AbsTime _time) :
TimerTask::~TimerTask(){}
-void TimerTask::reset() { time.reset(AbsTime::now(), duration); }
+void TimerTask::reset() { time = AbsTime(AbsTime::now(), duration); }
Timer::Timer() : active(false)
{