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

@@ -24,7 +24,7 @@ struct SSurfaceTreeNode {
void* globalOffsetData;
CWindow* pWindowOwner = nullptr;
bool operator==(const SSurfaceTreeNode& rhs) {
bool operator==(const SSurfaceTreeNode& rhs) const {
return pSurface == rhs.pSurface;
}
};
@@ -41,7 +41,7 @@ struct SSubsurface {
CWindow* pWindowOwner = nullptr;
bool operator==(const SSubsurface& rhs) {
bool operator==(const SSubsurface& rhs) const {
return pSubsurface == rhs.pSubsurface;
}
};