From b85ed9344b09b1db318ced3ac7026f6211974292 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 7 Apr 2008 20:59:02 +0000 Subject: 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 --- cpp/src/qpid/broker/Timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/broker/Timer.cpp') 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) { -- cgit v1.2.1