core: drop using deques in favor of vectors
No point in most of these.
This commit is contained in:
parent
de3ad245dc
commit
a5234f26e4
25 changed files with 181 additions and 157 deletions
|
|
@ -116,7 +116,7 @@ int CEventManager::onClientEvent(int fd, uint32_t mask) {
|
|||
if (write(CLIENTIT->fd, event->c_str(), event->length()) < 0)
|
||||
break;
|
||||
|
||||
CLIENTIT->events.pop_front();
|
||||
CLIENTIT->events.erase(CLIENTIT->events.begin());
|
||||
}
|
||||
|
||||
// stop polling when we sent all events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue