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