diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-09-18 10:40:10 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-09-18 10:40:10 +0200 |
commit | cfae4509c7b88b26a9113451bfae649682d7cac6 (patch) | |
tree | 8ecaef8e95070a4ff1b390addd980f3a929760a0 /cpp/src/IceUtil/Timer.cpp | |
parent | Fixed bug #2461 (diff) | |
download | ice-cfae4509c7b88b26a9113451bfae649682d7cac6.tar.bz2 ice-cfae4509c7b88b26a9113451bfae649682d7cac6.tar.xz ice-cfae4509c7b88b26a9113451bfae649682d7cac6.zip |
Fixed bug 2462 and bug in IceUtil::Timer
Diffstat (limited to 'cpp/src/IceUtil/Timer.cpp')
-rwxr-xr-x | cpp/src/IceUtil/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/Timer.cpp b/cpp/src/IceUtil/Timer.cpp index fd80db92f2c..adca267c58e 100755 --- a/cpp/src/IceUtil/Timer.cpp +++ b/cpp/src/IceUtil/Timer.cpp @@ -152,8 +152,8 @@ Timer::run() const Token& first = *(_tokens.begin()); if(first.scheduledTime <= now) { - _tokens.erase(_tokens.begin()); token = first; + _tokens.erase(_tokens.begin()); if(token.delay == IceUtil::Time()) { _tasks.erase(token.task); |