summaryrefslogtreecommitdiff
path: root/src/managers/eventLoop/EventLoopManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/eventLoop/EventLoopManager.hpp')
-rw-r--r--src/managers/eventLoop/EventLoopManager.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/managers/eventLoop/EventLoopManager.hpp b/src/managers/eventLoop/EventLoopManager.hpp
index ccd70123..13d74571 100644
--- a/src/managers/eventLoop/EventLoopManager.hpp
+++ b/src/managers/eventLoop/EventLoopManager.hpp
@@ -2,7 +2,6 @@
#include <condition_variable>
#include <mutex>
-#include <memory>
#include <thread>
#include <wayland-server.h>
@@ -13,8 +12,8 @@ class CEventLoopManager {
CEventLoopManager();
void enterLoop(wl_display* display, wl_event_loop* wlEventLoop);
- void addTimer(std::shared_ptr<CEventLoopTimer> timer);
- void removeTimer(std::shared_ptr<CEventLoopTimer> timer);
+ void addTimer(SP<CEventLoopTimer> timer);
+ void removeTimer(SP<CEventLoopTimer> timer);
void onTimerFire();
@@ -28,8 +27,8 @@ class CEventLoopManager {
} m_sWayland;
struct {
- std::vector<std::shared_ptr<CEventLoopTimer>> timers;
- int timerfd = -1;
+ std::vector<SP<CEventLoopTimer>> timers;
+ int timerfd = -1;
} m_sTimers;
};