Merge pull request #4081 from zhaowenlan1779/port-yuzu-900
Port "math_util: Always initialize members of Rectangle" from yuzu
This commit is contained in:
commit
0b798ab7a2
1 changed files with 4 additions and 4 deletions
|
@ -19,10 +19,10 @@ inline bool IntervalsIntersect(unsigned start0, unsigned length0, unsigned start
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
struct Rectangle {
|
struct Rectangle {
|
||||||
T left;
|
T left{};
|
||||||
T top;
|
T top{};
|
||||||
T right;
|
T right{};
|
||||||
T bottom;
|
T bottom{};
|
||||||
|
|
||||||
Rectangle() = default;
|
Rectangle() = default;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue