| 36 | } |
| 37 | |
| 38 | Timer::~Timer() |
| 39 | { |
| 40 | Timers::iterator it = std::find(timers.begin(), timers.end(), this); |
| 41 | ASSERT(it != timers.end()); |
| 42 | timers.erase(it); |
| 43 | |
| 44 | // Remove messages of this timer in the queue |
| 45 | Manager::getDefault()->removeMessagesForTimer(this); |
| 46 | } |
| 47 | |
| 48 | void Timer::start() |
| 49 | { |
nothing calls this directly
no test coverage detected