Terminal: Remove a copy constructor and assignment operator.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user