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
(cherry picked from commit 3fd15ed22a23af1c5bb2cf037f93c1bce5f1e243)
This commit is contained in:
1 parent
079c6b47f9
commit
31cf5ea305
1 file changed
-5
@@ -130,11 +130,6 @@ class ObjectGuid
|
||||
explicit ObjectGuid(uint64 guid) : _guid(guid) { }
|
||||
ObjectGuid(HighGuid hi, uint32 entry, LowType counter) : _guid(counter ? uint64(counter) | (uint64(entry) << 24) | (uint64(hi) << 48) : 0) { }
|
||||
ObjectGuid(HighGuid hi, LowType counter) : _guid(counter ? uint64(counter) | (uint64(hi) << 48) : 0) { }
|
||||
ObjectGuid(ObjectGuid const& r) : _guid(r._guid) { }
|
||||
ObjectGuid(ObjectGuid&& r) : _guid(r._guid) { }
|
||||
|
||||
ObjectGuid& operator=(ObjectGuid const& r) { _guid = r._guid; return *this; }
|
||||
ObjectGuid& operator=(ObjectGuid&& r) { _guid = r._guid; return *this; }
|
||||
|
||||
operator uint64() const { return _guid; }
|
||||
PackedGuidReader ReadAsPacked() { return PackedGuidReader(*this); }
|
||||
|
||||
Reference in new issue
Block a user