mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 07:31:53 -07:00
core: drop using deques in favor of vectors
No point in most of these.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user