summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/desktop/rule/effect/EffectContainer.hpp3
-rw-r--r--src/desktop/rule/matchEngine/TagMatchEngine.cpp3
-rw-r--r--src/desktop/rule/matchEngine/TagMatchEngine.hpp3
-rw-r--r--src/desktop/rule/matchEngine/WorkspaceMatchEngine.hpp3
4 files changed, 8 insertions, 4 deletions
diff --git a/src/desktop/rule/effect/EffectContainer.hpp b/src/desktop/rule/effect/EffectContainer.hpp
index cb2157a6..51cae07e 100644
--- a/src/desktop/rule/effect/EffectContainer.hpp
+++ b/src/desktop/rule/effect/EffectContainer.hpp
@@ -5,6 +5,7 @@
#include <type_traits>
#include <cstdint>
#include <optional>
+#include <algorithm>
namespace Desktop::Rule {
template <typename T>
@@ -78,4 +79,4 @@ namespace Desktop::Rule {
std::vector<std::string> m_keys;
size_t m_originalSize = 0;
};
-}; \ No newline at end of file
+};
diff --git a/src/desktop/rule/matchEngine/TagMatchEngine.cpp b/src/desktop/rule/matchEngine/TagMatchEngine.cpp
index d669822a..6b38c980 100644
--- a/src/desktop/rule/matchEngine/TagMatchEngine.cpp
+++ b/src/desktop/rule/matchEngine/TagMatchEngine.cpp
@@ -1,5 +1,6 @@
#include "TagMatchEngine.hpp"
#include "../../../helpers/TagKeeper.hpp"
+#include <string>
using namespace Desktop::Rule;
@@ -9,4 +10,4 @@ CTagMatchEngine::CTagMatchEngine(const std::string& tag) : m_tag(tag) {
bool CTagMatchEngine::match(const CTagKeeper& keeper) {
return keeper.isTagged(m_tag);
-} \ No newline at end of file
+}
diff --git a/src/desktop/rule/matchEngine/TagMatchEngine.hpp b/src/desktop/rule/matchEngine/TagMatchEngine.hpp
index f8ef3e22..e5e65c9b 100644
--- a/src/desktop/rule/matchEngine/TagMatchEngine.hpp
+++ b/src/desktop/rule/matchEngine/TagMatchEngine.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "MatchEngine.hpp"
+#include <string>
namespace Desktop::Rule {
class CTagMatchEngine : public IMatchEngine {
@@ -13,4 +14,4 @@ namespace Desktop::Rule {
private:
std::string m_tag;
};
-} \ No newline at end of file
+}
diff --git a/src/desktop/rule/matchEngine/WorkspaceMatchEngine.hpp b/src/desktop/rule/matchEngine/WorkspaceMatchEngine.hpp
index c70bc8b4..dcdf4136 100644
--- a/src/desktop/rule/matchEngine/WorkspaceMatchEngine.hpp
+++ b/src/desktop/rule/matchEngine/WorkspaceMatchEngine.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "MatchEngine.hpp"
+#include <string>
namespace Desktop::Rule {
class CWorkspaceMatchEngine : public IMatchEngine {
@@ -13,4 +14,4 @@ namespace Desktop::Rule {
private:
std::string m_value = "";
};
-} \ No newline at end of file
+}