aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/EventManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/EventManager.hpp')
-rw-r--r--src/managers/EventManager.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/managers/EventManager.hpp b/src/managers/EventManager.hpp
index 383d3246..37716e63 100644
--- a/src/managers/EventManager.hpp
+++ b/src/managers/EventManager.hpp
@@ -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);