- Timestamp:
- 06/04/12 21:53:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineImp.cc
r14005 r14072 140 140 // Unfortunately, front() doesn't necessarily return 0 if 141 141 // queue is empty 142 if (fEventQueue.size()) 143 { 144 while (1) 145 { 146 Event *q=fEventQueue.front(); 147 if (!q) 148 break; 149 150 fEventQueue.pop(); 151 delete q; 152 } 142 while (fEventQueue.size()) 143 { 144 Event *q=fEventQueue.front(); 145 if (!q) 146 break; 147 148 fEventQueue.pop(); 149 delete q; 153 150 } 154 151 }
Note:
See TracChangeset
for help on using the changeset viewer.