diff options
author | Ujp8LfXBJ6wCPR <github@lillecarl.com> | 2020-02-14 10:21:51 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2020-04-26 11:42:47 +0200 |
commit | d994707ba1dba71e65a87b6e3ff8a8630c7cc215 (patch) | |
tree | b78e52dcbff9360de0115e48adb8d332b99bd94c /src/server | |
parent | 7fdeb259ba398d5d9343a5dcd1a89562dfcbe981 (diff) |
Core/Misc: Remove redundant copy constructor for Position and WorldLocation (#24151)
* Default compiler generated ones do the same
(cherry picked from commit b92e4af460e72f8e6180cd5e6aac0250d64800e0)
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/game/Entities/Object/Position.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/server/game/Entities/Object/Position.h b/src/server/game/Entities/Object/Position.h index 3268000121b..e2ee7f12384 100644 --- a/src/server/game/Entities/Object/Position.h +++ b/src/server/game/Entities/Object/Position.h @@ -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 |