diff options
Diffstat (limited to 'src/common/math_util.h')
-rw-r--r-- | src/common/math_util.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/math_util.h b/src/common/math_util.h index 696bd43ea2..41d89666c0 100644 --- a/src/common/math_util.h +++ b/src/common/math_util.h @@ -27,12 +27,10 @@ struct Rectangle { T right; T bottom; - Rectangle() { - } + Rectangle() {} Rectangle(T left, T top, T right, T bottom) - : left(left), top(top), right(right), bottom(bottom) { - } + : left(left), top(top), right(right), bottom(bottom) {} T GetWidth() const { return std::abs(static_cast<typename std::make_signed<T>::type>(right - left)); |