summaryrefslogtreecommitdiff
path: root/src/layout/DwindleLayout.hpp
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-01-31 00:03:23 +0000
committerGitHub <noreply@github.com>2023-01-31 00:03:23 +0000
commitf90ff8303b4f2d0c39fe9e3dd35c5b0258491156 (patch)
treedf384b9580ca1c571c633154b47af4ffd2f69edb /src/layout/DwindleLayout.hpp
parentd4e2a0fd1635d90043e38d47931e7132ebcde559 (diff)
Unbreak build with libc++ (#1457)
Diffstat (limited to 'src/layout/DwindleLayout.hpp')
-rw-r--r--src/layout/DwindleLayout.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/DwindleLayout.hpp b/src/layout/DwindleLayout.hpp
index e6a98915..3c34287c 100644
--- a/src/layout/DwindleLayout.hpp
+++ b/src/layout/DwindleLayout.hpp
@@ -33,7 +33,7 @@ struct SDwindleNodeData {
bool valid = true;
// For list lookup
- bool operator==(const SDwindleNodeData& rhs) {
+ bool operator==(const SDwindleNodeData& rhs) const {
return pWindow == rhs.pWindow && workspaceID == rhs.workspaceID && position == rhs.position && size == rhs.size && pParent == rhs.pParent &&
children[0] == rhs.children[0] && children[1] == rhs.children[1];
}