From 17089e9ae5dc3bad2b1f3d5a40f50009e24cd879 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Fri, 24 May 2019 14:24:47 -0400 Subject: [PATCH] Terminal: Remove a copy constructor and assignment operator. --- src/apps/terminal/TermPos.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/apps/terminal/TermPos.h b/src/apps/terminal/TermPos.h index e2bc18c6ed..1a127e5c0a 100644 --- a/src/apps/terminal/TermPos.h +++ b/src/apps/terminal/TermPos.h @@ -15,7 +15,6 @@ public: inline TermPos() : x(0), y(0) { } inline TermPos(int32 x, int32 y) : x(x), y(y) { } - inline TermPos(const TermPos& other) : x(other.x), y(other.y) { } inline void SetTo(int32 x, int32 y) { @@ -52,13 +51,6 @@ public: { return !(*this <= other); } - - inline TermPos& operator=(const TermPos& other) - { - x = other.x; - y = other.y; - return *this; - } };