diff options
| author | Shauren <shauren.trinity@gmail.com> | 2015-10-27 22:55:57 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2015-10-27 22:55:57 +0100 |
| commit | 3fd15ed22a23af1c5bb2cf037f93c1bce5f1e243 (patch) | |
| tree | e83c76296da8569b55fc0f52345557531399ed24 /src | |
| parent | f7dba226fea3481236032eae69cf2bff484f0234 (diff) | |
Core/Misc: Removed manually defined ObjectGuid copy/move constructors. This will cause the compiler to automatically generate trivial constructors allowing them to be treated as simple integers
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Entities/Object/ObjectGuid.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/server/game/Entities/Object/ObjectGuid.h b/src/server/game/Entities/Object/ObjectGuid.h index 876985cec23..feb5219b39f 100644 --- a/src/server/game/Entities/Object/ObjectGuid.h +++ b/src/server/game/Entities/Object/ObjectGuid.h @@ -202,11 +202,6 @@ 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& r) : _low(r._low), _high(r._high) { } - ObjectGuid(ObjectGuid&& r) : _low(r._low), _high(r._high) { } - - 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); |
