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
|
|
@ -1,5 +1,5 @@
|
|||
#pragma once
|
||||
#include <deque>
|
||||
#include <vector>
|
||||
#include <vector>
|
||||
|
||||
#include "../defines.hpp"
|
||||
|
|
@ -27,9 +27,9 @@ class CEventManager {
|
|||
int onClientEvent(int fd, uint32_t mask);
|
||||
|
||||
struct SClient {
|
||||
int fd = -1;
|
||||
std::deque<SP<std::string>> events;
|
||||
wl_event_source* eventSource = nullptr;
|
||||
int fd = -1;
|
||||
std::vector<SP<std::string>> events;
|
||||
wl_event_source* eventSource = nullptr;
|
||||
};
|
||||
|
||||
std::vector<SClient>::iterator findClientByFD(int fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue