| 52 | } |
| 53 | |
| 54 | void EventQueue::AddClient(void *client) |
| 55 | { |
| 56 | std::unique_lock<std::mutex> lock(m_Mutex); |
| 57 | |
| 58 | auto result = m_Events.insert(std::make_pair(client, std::deque<Dictionary::Ptr>())); |
| 59 | ASSERT(result.second); |
| 60 | |
| 61 | #ifndef I2_DEBUG |
| 62 | (void)result; |
| 63 | #endif /* I2_DEBUG */ |
| 64 | } |
| 65 | |
| 66 | void EventQueue::RemoveClient(void *client) |
| 67 | { |