Additional clang-format fixes

This commit is contained in:
Michael Davidson 2024-01-01 10:37:55 +11:00
parent 5f5c35e779
commit c72e789be9
No known key found for this signature in database
GPG Key ID: B8D1A99712B8B0EB

View File

@ -65,9 +65,7 @@ struct Dimension {
inline int16_t vertical() const { return this->top + this->bottom; }; inline int16_t vertical() const { return this->top + this->bottom; };
/* Returns true if any value is set to a non-zero value*/ /* Returns true if any value is set to a non-zero value*/
inline bool any() const { inline bool any() const { return this->left > 0 || this->top > 0 || this->right > 0 || this->bottom > 0; };
return this->left > 0 || this->top > 0 || this->right > 0 || this->bottom > 0;
};
/* Returns true if all dimensions are equal to the value */ /* Returns true if all dimensions are equal to the value */
inline bool equals(int16_t value) const { inline bool equals(int16_t value) const {