From 261c3307f70d14e5bbc7d4113b4ee6dac9e4b627 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 7 Aug 2023 13:35:19 +0200 Subject: internal: cleanup headers in helpers/ --- src/helpers/SubsurfaceTree.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/helpers/SubsurfaceTree.hpp') diff --git a/src/helpers/SubsurfaceTree.hpp b/src/helpers/SubsurfaceTree.hpp index 7a0968fd..d6f04a58 100644 --- a/src/helpers/SubsurfaceTree.hpp +++ b/src/helpers/SubsurfaceTree.hpp @@ -26,7 +26,8 @@ struct SSurfaceTreeNode { void* globalOffsetData; CWindow* pWindowOwner = nullptr; - bool operator==(const SSurfaceTreeNode& rhs) const { + // + bool operator==(const SSurfaceTreeNode& rhs) const { return pSurface == rhs.pSurface; } }; @@ -43,7 +44,8 @@ struct SSubsurface { CWindow* pWindowOwner = nullptr; - bool operator==(const SSubsurface& rhs) const { + // + bool operator==(const SSubsurface& rhs) const { return pSubsurface == rhs.pSubsurface; } }; -- cgit v1.2.3