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/protocols | |
| parent | d4e2a0fd1635d90043e38d47931e7132ebcde559 (diff) | |
Unbreak build with libc++ (#1457)
Diffstat (limited to 'src/protocols')
| -rw-r--r-- | src/protocols/ToplevelExport.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/ToplevelExport.hpp b/src/protocols/ToplevelExport.hpp index e1c526db..d3bbc362 100644 --- a/src/protocols/ToplevelExport.hpp +++ b/src/protocols/ToplevelExport.hpp @@ -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; } }; |
