[11491] Step back to implicit ObjectGuid(uint64 const& guid) in wait code users updating.

Must be reverted with drop GetGUID() when code ready.
This commit is contained in:
VladimirMangos 2011-05-15 23:34:43 +04:00
parent 249fb836ca
commit 55cc1ea37f
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ class MANGOS_DLL_SPEC ObjectGuid
{
public: // constructors
ObjectGuid() : m_guid(0) {}
explicit ObjectGuid(uint64 const& guid) : m_guid(guid) {}
ObjectGuid(uint64 const& guid) : m_guid(guid) {} // temporary allowed implicit cast, really bad in connection with operator uint64()
ObjectGuid(HighGuid hi, uint32 entry, uint32 counter) : m_guid(counter ? uint64(counter) | (uint64(entry) << 24) | (uint64(hi) << 48) : 0) {}
ObjectGuid(HighGuid hi, uint32 counter) : m_guid(counter ? uint64(counter) | (uint64(hi) << 48) : 0) {}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11490"
#define REVISION_NR "11491"
#endif // __REVISION_NR_H__