| 40 | } |
| 41 | |
| 42 | void TimedCalls::Insert(CallData&& call) |
| 43 | { |
| 44 | auto it = std::lower_bound(m_scheduledCalls.begin(), m_scheduledCalls. end(), call, [](const CallData& a, const CallData& b) { return a.at > b.at; }); |
| 45 | m_scheduledCalls.insert(it, call); |
| 46 | } |
| 47 | |
| 48 | void TimedCalls::Remove(unsigned id) |
| 49 | { |