mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-23 07:53:49 -07:00
build: fix libc++/clang build (#4886)
This commit is contained in:
committed by
GitHub
parent
2e111c8cf9
commit
bcec082a1c
@@ -391,7 +391,7 @@ struct STearingController {
|
|||||||
DYNLISTENER(set);
|
DYNLISTENER(set);
|
||||||
DYNLISTENER(destroy);
|
DYNLISTENER(destroy);
|
||||||
|
|
||||||
bool operator==(const STearingController& other) {
|
bool operator==(const STearingController& other) const {
|
||||||
return pWlrHint == other.pWlrHint;
|
return pWlrHint == other.pWlrHint;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -401,7 +401,7 @@ struct SShortcutInhibitor {
|
|||||||
|
|
||||||
DYNLISTENER(destroy);
|
DYNLISTENER(destroy);
|
||||||
|
|
||||||
bool operator==(const SShortcutInhibitor& other) {
|
bool operator==(const SShortcutInhibitor& other) const {
|
||||||
return pWlrInhibitor == other.pWlrInhibitor;
|
return pWlrInhibitor == other.pWlrInhibitor;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user