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:
Stephen Anthony 2019-12-29 10:02:54 -03:30
parent d0d17b4ded
commit 0a9b289b44
1 changed files with 1 additions and 1 deletions

View File

@ -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()); }