From e53e571d2d449ea16849d1d2b1bcc225f4c55bf9 Mon Sep 17 00:00:00 2001 From: Mark Roszko Date: Sat, 8 Jul 2023 01:02:59 +0000 Subject: [PATCH] const bool is just bool --- libs/kimath/include/math/box2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/kimath/include/math/box2.h b/libs/kimath/include/math/box2.h index 258f226d8c..81849e67ba 100644 --- a/libs/kimath/include/math/box2.h +++ b/libs/kimath/include/math/box2.h @@ -837,7 +837,7 @@ public: return ( t1.m_Pos != t2.m_Pos || t1.m_Size != t2.m_Size ); } - const bool IsValid() const + bool IsValid() const { return m_init; }