diff --git a/src/libCom/timer/osiTimer.cpp b/src/libCom/timer/osiTimer.cpp index b86685106..49da45eff 100644 --- a/src/libCom/timer/osiTimer.cpp +++ b/src/libCom/timer/osiTimer.cpp @@ -271,7 +271,7 @@ void osiTimer::arm (double initialDelay) // // **** this should use a binary tree ???? // - tsDLIterBD iter = this->queue.timerLists[statePending].last (); + tsDLIterBD iter = this->queue.timerLists[statePending].lastIter (); while (1) { if ( ! iter.valid () ) { // @@ -562,7 +562,7 @@ void osiTimerQueue::privateProcess () this->inProcess = true; - tsDLIterBD iter = this->timerLists[osiTimer::statePending].first (); + tsDLIterBD iter = this->timerLists[osiTimer::statePending].firstIter (); while ( iter.valid () ) { if ( iter->exp > cur ) { break; @@ -636,7 +636,7 @@ void osiTimerQueue::show(unsigned level) const printf("osiTimerQueue with %u items pending and %u items expired\n", this->timerLists[osiTimer::statePending].count(), this->timerLists[osiTimer::stateExpired].count()); - tsDLIterBD iter(this->timerLists[osiTimer::statePending].first()); + tsDLIterConstBD iter = this->timerLists[osiTimer::statePending].firstIter (); while ( iter.valid () ) { iter->show(level); ++iter;