Unbreak build with libc++ (#1457)

This commit is contained in:
Jan Beich 2023-01-31 00:03:23 +00:00 committed by GitHub
parent d4e2a0fd16
commit f90ff8303b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 23 additions and 21 deletions

View file

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