diff --git a/src/common/math_util.h b/src/common/math_util.h index 35a1eda75..343cdd902 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;