fix warnings + cland-tidy

This commit is contained in:
2025-07-23 19:18:25 +02:00
parent 705671148b
commit 9477099cfc
13 changed files with 47 additions and 12 deletions

View File

@@ -30,7 +30,7 @@ private:
Point m_Center;
float m_Width, m_Height;
public:
Rectangle() {}
Rectangle() : m_Center(), m_Width(0), m_Height(0) {}
const Point& GetCenter() const { return m_Center; }
float GetCenterX() const { return m_Center.GetX(); }
@@ -92,5 +92,5 @@ public:
};
} // namespace shape
} // namespace utils
} // namespace utils
} // namespace td