build: fix libc++/clang build (#4886)

This commit is contained in:
Anton Samokhvalov 2024-02-29 18:01:56 +03:00 committed by GitHub
parent 2e111c8cf9
commit bcec082a1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}
};