mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-18 13:33:50 -07:00
Unbreak build with libc++ (#1457)
This commit is contained in:
@@ -14,7 +14,7 @@ struct SToplevelClient {
|
||||
int ref = 0;
|
||||
wl_resource* resource = nullptr;
|
||||
|
||||
bool operator==(const SToplevelClient& other) {
|
||||
bool operator==(const SToplevelClient& other) const {
|
||||
return resource == other.resource;
|
||||
}
|
||||
};
|
||||
@@ -36,7 +36,7 @@ struct SToplevelFrame {
|
||||
|
||||
CWindow* pWindow = nullptr;
|
||||
|
||||
bool operator==(const SToplevelFrame& other) {
|
||||
bool operator==(const SToplevelFrame& other) const {
|
||||
return resource == other.resource && client == other.client;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user