fix warnings + cland-tidy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user