summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2024-02-29 18:01:56 +0300
committerGitHub <noreply@github.com>2024-02-29 15:01:56 +0000
commitbcec082a1c20da4b69d56b0f0f98e00ecb3b5c96 (patch)
tree9910ed46dc2c9e7f43532ebfe26039391ce14964 /src
parent2e111c8cf97d391c25fc6263660271fab605ece1 (diff)
build: fix libc++/clang build (#4886)
Diffstat (limited to 'src')
-rw-r--r--src/helpers/WLClasses.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index 624625af..b307191c 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -391,7 +391,7 @@ struct STearingController {
DYNLISTENER(set);
DYNLISTENER(destroy);
- bool operator==(const STearingController& other) {
+ bool operator==(const STearingController& other) const {
return pWlrHint == other.pWlrHint;
}
};
@@ -401,7 +401,7 @@ struct SShortcutInhibitor {
DYNLISTENER(destroy);
- bool operator==(const SShortcutInhibitor& other) {
+ bool operator==(const SShortcutInhibitor& other) const {
return pWlrInhibitor == other.pWlrInhibitor;
}
};