aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-10-27 22:55:57 +0100
committerShauren <shauren.trinity@gmail.com>2015-10-29 18:52:00 +0100
commit31cf5ea305c471b8086f582879c25f9fa9777005 (patch)
treeacc9684bc8944d680a2d62d516add5a30e599984
parent079c6b47f941af2e3aa710705f022741b5c15b54 (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
(cherry picked from commit 3fd15ed22a23af1c5bb2cf037f93c1bce5f1e243)
-rw-r--r--src/server/game/Entities/Object/ObjectGuid.h5
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 697ee3835f6..372a31307d9 100644
--- a/src/server/game/Entities/Object/ObjectGuid.h
+++ b/src/server/game/Entities/Object/ObjectGuid.h
@@ -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); }