mirror of
https://github.com/esphome/esphome.git
synced 2024-12-12 08:24:55 +01:00
Additional clang-format fixes
This commit is contained in:
parent
5f5c35e779
commit
c72e789be9
1 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue