diff --git a/SDL2pp/Point.cc b/SDL2pp/Point.cc index 0bb5560..3084af7 100644 --- a/SDL2pp/Point.cc +++ b/SDL2pp/Point.cc @@ -81,8 +81,4 @@ int Point::GetY() const { return point_->y; } -void Point::Swap(Point& other) noexcept { - point_.swap(other.point_); -} - } diff --git a/SDL2pp/Point.hh b/SDL2pp/Point.hh index f80116f..9df36fa 100644 --- a/SDL2pp/Point.hh +++ b/SDL2pp/Point.hh @@ -63,8 +63,6 @@ public: int GetX() const; int GetY() const; - - void Swap(Point& other) noexcept; }; } diff --git a/SDL2pp/Rect.cc b/SDL2pp/Rect.cc index fe01c9c..ce201e2 100644 --- a/SDL2pp/Rect.cc +++ b/SDL2pp/Rect.cc @@ -111,8 +111,4 @@ int Rect::GetY2() const { return rect_->y + rect_->h; } -void Rect::Swap(Rect& other) noexcept { - rect_.swap(other.rect_); -} - } diff --git a/SDL2pp/Rect.hh b/SDL2pp/Rect.hh index 2a28f25..8c20d84 100644 --- a/SDL2pp/Rect.hh +++ b/SDL2pp/Rect.hh @@ -59,8 +59,6 @@ public: int GetH() const; int GetX2() const; int GetY2() const; - - void Swap(Rect& other) noexcept; }; }