summaryrefslogtreecommitdiff
path: root/src/desktop/Rule.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/desktop/Rule.hpp
parentae403e6a05452336abd97e61be2706f6a930d827 (diff)
core: move all shared_ptrs from the STL to hyprutils (#9143)
Diffstat (limited to 'src/desktop/Rule.hpp')
-rw-r--r--src/desktop/Rule.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/desktop/Rule.hpp b/src/desktop/Rule.hpp
index 4b178ee8..858b4ded 100644
--- a/src/desktop/Rule.hpp
+++ b/src/desktop/Rule.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <memory>
+#include <hyprutils/memory/UniquePtr.hpp>
//NOLINTNEXTLINE
namespace re2 {
@@ -16,6 +16,6 @@ class CRuleRegexContainer {
bool passes(const std::string& str) const;
private:
- std::unique_ptr<re2::RE2> regex;
- bool negative = false;
+ Hyprutils::Memory::CUniquePointer<re2::RE2> regex;
+ bool negative = false;
}; \ No newline at end of file