From bcec082a1c20da4b69d56b0f0f98e00ecb3b5c96 Mon Sep 17 00:00:00 2001 From: Anton Samokhvalov Date: Thu, 29 Feb 2024 18:01:56 +0300 Subject: [PATCH] build: fix libc++/clang build (#4886) --- src/helpers/WLClasses.hpp | 4 ++-- 1 file 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; } };