diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2023-01-31 00:03:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-31 00:03:23 +0000 |
| commit | f90ff8303b4f2d0c39fe9e3dd35c5b0258491156 (patch) | |
| tree | df384b9580ca1c571c633154b47af4ffd2f69edb /src/helpers/SubsurfaceTree.hpp | |
| parent | d4e2a0fd1635d90043e38d47931e7132ebcde559 (diff) | |
Unbreak build with libc++ (#1457)
Diffstat (limited to 'src/helpers/SubsurfaceTree.hpp')
| -rw-r--r-- | src/helpers/SubsurfaceTree.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/SubsurfaceTree.hpp b/src/helpers/SubsurfaceTree.hpp index c5d3934f..36105d2c 100644 --- a/src/helpers/SubsurfaceTree.hpp +++ b/src/helpers/SubsurfaceTree.hpp @@ -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; } }; |
