mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 03:45:43 +00:00
fix(Core/Misc): Remove c++ check for c++11 (#10439)
This commit is contained in:
@@ -1219,12 +1219,9 @@ public:
|
||||
_posOwner.Relocate(c._posOwner);
|
||||
_posTarget.Relocate(c._posTarget);
|
||||
}
|
||||
/* requried as of C++ 11 */
|
||||
#if __cplusplus >= 201103L
|
||||
MMapTargetData(MMapTargetData&&) = default;
|
||||
MMapTargetData& operator=(const MMapTargetData&) = default;
|
||||
MMapTargetData& operator=(MMapTargetData&&) = default;
|
||||
#endif
|
||||
[[nodiscard]] bool PosChanged(const Position& o, const Position& t) const
|
||||
{
|
||||
return _posOwner.GetExactDistSq(&o) > 0.5f * 0.5f || _posTarget.GetExactDistSq(&t) > 0.5f * 0.5f;
|
||||
|
||||
Reference in New Issue
Block a user