mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 18:42:41 +02:00
MathUtil: Default initialize Rectangle class data members
Puts Rectangles into a valid state upon creation
This commit is contained in:
parent
dddc834c14
commit
09641ec313
@ -117,10 +117,10 @@ double ApproximateReciprocal(double val);
|
||||
template<class T>
|
||||
struct Rectangle
|
||||
{
|
||||
T left;
|
||||
T top;
|
||||
T right;
|
||||
T bottom;
|
||||
T left{};
|
||||
T top{};
|
||||
T right{};
|
||||
T bottom{};
|
||||
|
||||
Rectangle()
|
||||
{ }
|
||||
|
Loading…
Reference in New Issue
Block a user