diff --git a/src/common/math_util.h b/src/common/math_util.h index 35a1eda755..343cdd902f 100644 --- a/src/common/math_util.h +++ b/src/common/math_util.h @@ -19,10 +19,10 @@ inline bool IntervalsIntersect(unsigned start0, unsigned length0, unsigned start template struct Rectangle { - T left; - T top; - T right; - T bottom; + T left{}; + T top{}; + T right{}; + T bottom{}; Rectangle() = default;