citra-emu
/
citra
Archived
1
0
Fork 0

Merge pull request #4081 from zhaowenlan1779/port-yuzu-900

Port "math_util: Always initialize members of Rectangle" from yuzu
This commit is contained in:
Merry 2018-08-10 21:09:02 +01:00 committed by GitHub
commit 0b798ab7a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@ inline bool IntervalsIntersect(unsigned start0, unsigned length0, unsigned start
template <class T>
struct Rectangle {
T left;
T top;
T right;
T bottom;
T left{};
T top{};
T right{};
T bottom{};
Rectangle() = default;