mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
MathUtil: Default initialize Rectangle class data members
Puts Rectangles into a valid state upon creation
This commit is contained in:
@ -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()
|
||||
{ }
|
||||
|
Reference in New Issue
Block a user