mirror of https://github.com/stella-emu/stella.git
libretro: Fix bug with using defaulted vs. user-defined c'tor.
I think this is a compiler issue with that build environment, since this is legal C++11 code.
This commit is contained in:
parent
d0d17b4ded
commit
0a9b289b44
|
@ -108,7 +108,7 @@ struct Rect
|
|||
uInt32 bottom{0}, right{0};
|
||||
|
||||
public:
|
||||
Rect() = default;
|
||||
Rect() {}
|
||||
explicit Rect(const Size& s) : bottom(s.h), right(s.w) { assert(valid()); }
|
||||
Rect(uInt32 w, uInt32 h) : bottom(h), right(w) { assert(valid()); }
|
||||
Rect(const Point& p, uInt32 w, uInt32 h) : top(p.y), left(p.x), bottom(h), right(w) { assert(valid()); }
|
||||
|
|
Loading…
Reference in New Issue