mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 16:25:59 +01:00
build: fix libc++/clang build (#4886)
This commit is contained in:
parent
2e111c8cf9
commit
bcec082a1c
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue