Core/Misc: Remove redundant copy constructor for Position and WorldLocation (#24151)

* Default compiler generated ones do the same

(cherry picked from commit b92e4af460)
This commit is contained in:
Ujp8LfXBJ6wCPR
2020-02-14 10:21:51 +01:00
committed by Shauren
parent 7fdeb259ba
commit d994707ba1

View File

@@ -29,8 +29,6 @@ struct TC_GAME_API Position
Position(float x = 0, float y = 0, float z = 0, float o = 0)
: m_positionX(x), m_positionY(y), m_positionZ(z), m_orientation(NormalizeOrientation(o)) { }
Position(Position const& loc) { Relocate(loc); }
// streamer tags
struct XY;
struct XYZ;
@@ -60,12 +58,6 @@ private:
float m_orientation;
public:
Position& operator=(Position const& loc)
{
Relocate(loc);
return *this;
}
bool operator==(Position const &a) const;
inline bool operator!=(Position const &a) const