Terminal: Remove a copy constructor and assignment operator.

This commit is contained in:
Augustin Cavalier
2019-05-24 14:24:47 -04:00
parent 43005c1925
commit 17089e9ae5
-8
View File
@@ -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;
}
};