1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:57:35 +00:00

SharedGraphics: Run clang-format on everything.

This commit is contained in:
Andreas Kling 2019-06-07 11:46:55 +02:00
parent 7770d6a09d
commit 76b3337498
20 changed files with 216 additions and 114 deletions

View file

@ -6,8 +6,12 @@ struct WSAPI_Size;
class Size {
public:
Size() { }
Size(int w, int h) : m_width(w), m_height(h) { }
Size() {}
Size(int w, int h)
: m_width(w)
, m_height(h)
{
}
Size(const WSAPI_Size&);
bool is_null() const { return !m_width && !m_height; }
@ -23,8 +27,7 @@ public:
bool operator==(const Size& other) const
{
return m_width == other.m_width &&
m_height == other.m_height;
return m_width == other.m_width && m_height == other.m_height;
}
bool operator!=(const Size& other) const
@ -54,4 +57,3 @@ private:
int m_width { 0 };
int m_height { 0 };
};