mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-01 14:46:54 +01:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user