Ignore:
Timestamp:
03/03/11 12:45:37 (11 years ago)
Author:
tbretz
Message:
Replaced deque by queue
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/StateMachineImp.cc

    r10183 r10218  
    144144    // queue is empty
    145145    if (fEventQueue.size())
    146         for (Event *q=fEventQueue.front(); q; fEventQueue.pop_front())
     146        for (Event *q=fEventQueue.front(); q; fEventQueue.pop())
    147147            delete q;
    148148}
     
    162162{
    163163    fMutex.lock();
    164     fEventQueue.push_back(cmd);
     164    fEventQueue.push(cmd);
    165165    fMutex.unlock();
    166166}
     
    182182    // and remove event from the stack
    183183    Event *cmd = fEventQueue.front();
    184     fEventQueue.pop_front();
     184    fEventQueue.pop();
    185185
    186186    fMutex.unlock();
Note: See TracChangeset for help on using the changeset viewer.