diff options
Diffstat (limited to 'src/server/game/Entities/Object')
| -rw-r--r-- | src/server/game/Entities/Object/ObjectGuid.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Entities/Object/ObjectGuid.h b/src/server/game/Entities/Object/ObjectGuid.h index 9b1c2516c18..fcfa0b5a810 100644 --- a/src/server/game/Entities/Object/ObjectGuid.h +++ b/src/server/game/Entities/Object/ObjectGuid.h @@ -204,11 +204,11 @@ class ObjectGuid static typename std::enable_if<ObjectGuidTraits<type>::MapSpecific, ObjectGuid>::type Create(uint16 mapId, uint32 entry, LowType counter) { return MapSpecific(type, 0, mapId, 0, entry, counter); } ObjectGuid() : _low(0), _high(0) { } - ObjectGuid(ObjectGuid const&) = default; - ObjectGuid(ObjectGuid&&) = default; + ObjectGuid(ObjectGuid const& r) : _low(r._low), _high(r._high) { } + ObjectGuid(ObjectGuid&& r) : _low(r._low), _high(r._high) { } - ObjectGuid& operator=(ObjectGuid const&) = default; - ObjectGuid& operator=(ObjectGuid&&) = default; + ObjectGuid& operator=(ObjectGuid const& r) { _low = r._low; _high = r._high; return *this; } + ObjectGuid& operator=(ObjectGuid&& r) { _low = r._low; _high = r._high; return *this; } std::vector<uint8> GetRawValue() const; void SetRawValue(std::vector<uint8> const& guid); |
