diff --git a/SDL2pp/Point.hh b/SDL2pp/Point.hh index 568fc67..f68c01c 100644 --- a/SDL2pp/Point.hh +++ b/SDL2pp/Point.hh @@ -40,9 +40,9 @@ public: static Point Null(); - Point(const Point& other) noexcept = default; + Point(const Point&) noexcept = default; Point(Point&&) noexcept = default; - Point& operator=(const Point& other) noexcept = default; + Point& operator=(const Point&) noexcept = default; Point& operator=(Point&&) noexcept = default; bool operator==(const Point& other) const; diff --git a/SDL2pp/Rect.hh b/SDL2pp/Rect.hh index 5ada31b..e90b3e2 100644 --- a/SDL2pp/Rect.hh +++ b/SDL2pp/Rect.hh @@ -44,9 +44,9 @@ public: static Rect FromCenter(int cx, int cy, int w, int h); - Rect(const Rect& other) noexcept = default; + Rect(const Rect&) noexcept = default; Rect(Rect&&) noexcept = default; - Rect& operator=(const Rect& other) noexcept = default; + Rect& operator=(const Rect&) noexcept = default; Rect& operator=(Rect&&) noexcept = default; bool operator==(const Rect& other) const;