From 35126ba22c9e875a521e5274ebb2cd2318fee545 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 (cherry picked from commit e53e571d2d449ea16849d1d2b1bcc225f4c55bf9) --- 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 907a0dc6e6..bd073b0b3c 100644 --- a/libs/kimath/include/math/box2.h +++ b/libs/kimath/include/math/box2.h @@ -836,7 +836,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; }