summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}
};