summaryrefslogtreecommitdiff
path: root/src/Compositor.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/Compositor.hpp
parentae403e6a05452336abd97e61be2706f6a930d827 (diff)
core: move all shared_ptrs from the STL to hyprutils (#9143)
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 0a87ec33..f2e2ca14 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -1,6 +1,5 @@
#pragma once
-#include <memory>
#include <list>
#include <sys/resource.h>
@@ -10,6 +9,7 @@
#include "managers/SessionLockManager.hpp"
#include "desktop/Window.hpp"
#include "protocols/types/ColorManagement.hpp"
+#include "helpers/memory/Memory.hpp"
#include <aquamarine/backend/Backend.hpp>
#include <aquamarine/output/Output.hpp>
@@ -170,4 +170,4 @@ class CCompositor {
rlimit m_sOriginalNofile = {0};
};
-inline std::unique_ptr<CCompositor> g_pCompositor;
+inline UP<CCompositor> g_pCompositor;