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/layout/MasterLayout.hpp | |
| parent | d4e2a0fd1635d90043e38d47931e7132ebcde559 (diff) | |
Unbreak build with libc++ (#1457)
Diffstat (limited to 'src/layout/MasterLayout.hpp')
| -rw-r--r-- | src/layout/MasterLayout.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/MasterLayout.hpp b/src/layout/MasterLayout.hpp index 746c500e..95948ead 100644 --- a/src/layout/MasterLayout.hpp +++ b/src/layout/MasterLayout.hpp @@ -30,7 +30,7 @@ struct SMasterNodeData { int workspaceID = -1; - bool operator==(const SMasterNodeData& rhs) { + bool operator==(const SMasterNodeData& rhs) const { return pWindow == rhs.pWindow; } }; @@ -39,7 +39,7 @@ struct SMasterWorkspaceData { int workspaceID = -1; eOrientation orientation = ORIENTATION_LEFT; - bool operator==(const SMasterWorkspaceData& rhs) { + bool operator==(const SMasterWorkspaceData& rhs) const { return workspaceID == rhs.workspaceID; } }; |
