summaryrefslogtreecommitdiff
path: root/src/managers/SessionLockManager.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-01-23 21:55:41 +0100
committerGitHub <noreply@github.com>2025-01-23 21:55:41 +0100
commit0a1ae48a9fd6eb76baad27de98c00f653a55e4ac (patch)
tree007cd36eb83d343d2aba49cf0741028c5f554895 /src/managers/SessionLockManager.hpp
parentae403e6a05452336abd97e61be2706f6a930d827 (diff)
core: move all shared_ptrs from the STL to hyprutils (#9143)
Diffstat (limited to 'src/managers/SessionLockManager.hpp')
-rw-r--r--src/managers/SessionLockManager.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/managers/SessionLockManager.hpp b/src/managers/SessionLockManager.hpp
index 59090605..aaf78819 100644
--- a/src/managers/SessionLockManager.hpp
+++ b/src/managers/SessionLockManager.hpp
@@ -28,11 +28,11 @@ struct SSessionLockSurface {
};
struct SSessionLock {
- WP<CSessionLock> lock;
- CTimer mLockTimer;
+ WP<CSessionLock> lock;
+ CTimer mLockTimer;
- std::vector<std::unique_ptr<SSessionLockSurface>> vSessionLockSurfaces;
- std::unordered_map<uint64_t, CTimer> mMonitorsWithoutMappedSurfaceTimers;
+ std::vector<UP<SSessionLockSurface>> vSessionLockSurfaces;
+ std::unordered_map<uint64_t, CTimer> mMonitorsWithoutMappedSurfaceTimers;
struct {
CHyprSignalListener newSurface;
@@ -74,4 +74,4 @@ class CSessionLockManager {
void onNewSessionLock(SP<CSessionLock> pWlrLock);
};
-inline std::unique_ptr<CSessionLockManager> g_pSessionLockManager;
+inline UP<CSessionLockManager> g_pSessionLockManager;