fix(Core/Misc): Remove c++ check for c++11 (#10439)

This commit is contained in:
Kitzunu
2022-02-04 19:00:33 +01:00
committed by GitHub
parent ad64a26077
commit f4c6a4ce27
4 changed files with 0 additions and 12 deletions

View File

@@ -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;