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; }