mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Explicitely declare default move ctors and assignments
This commit is contained in:
parent
df56f312ed
commit
76124eb4a5
@ -50,7 +50,9 @@ public:
|
||||
static Point Null();
|
||||
|
||||
Point(const Point& other);
|
||||
Point(Point&&) noexcept = default;
|
||||
Point& operator=(const Point& other);
|
||||
Point& operator=(Point&&) noexcept = default;
|
||||
|
||||
SDL_Point* Get();
|
||||
const SDL_Point* Get() const;
|
||||
|
@ -44,7 +44,9 @@ public:
|
||||
static Rect FromCenter(int cx, int cy, int w, int h);
|
||||
|
||||
Rect(const Rect& other);
|
||||
Rect(Rect&&) noexcept = default;
|
||||
Rect& operator=(const Rect& other);
|
||||
Rect& operator=(Rect&&) noexcept = default;
|
||||
|
||||
SDL_Rect* Get();
|
||||
const SDL_Rect* Get() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user