From 6ed9b7a578ec5fb58bf9d355349ac818d8e277c2 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sat, 22 Feb 2014 00:39:50 +0400 Subject: [PATCH] Remove unneeded argument names --- SDL2pp/Point.hh | 4 ++-- SDL2pp/Rect.hh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;