From d8d19884891af624b135d98dc8ca6ac95c1f399f Mon Sep 17 00:00:00 2001 From: zergtmn Date: Sun, 12 Jun 2011 22:00:41 +0400 Subject: [PATCH] [11628] Add explicit to ObjectGuid(uint32 const&) No reason have implicit wrong uses catch version when main version of constrictor have `explicit`. This also avoid unexpected selection catch-version with less readable error output at implicit uses. Signed-off-by: VladimirMangos --- src/game/ObjectGuid.h | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/ObjectGuid.h b/src/game/ObjectGuid.h index 6ecb0a065..9022d8502 100644 --- a/src/game/ObjectGuid.h +++ b/src/game/ObjectGuid.h @@ -95,7 +95,7 @@ class MANGOS_DLL_SPEC ObjectGuid operator uint64() const { return m_guid; } private: - ObjectGuid(uint32 const&); // no implementation, used for catch wrong type assign + explicit ObjectGuid(uint32 const&); // no implementation, used for catch wrong type assign ObjectGuid(HighGuid, uint32, uint64 counter); // no implementation, used for catch wrong type assign ObjectGuid(HighGuid, uint64 counter); // no implementation, used for catch wrong type assign diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index dd85f0dca..a4fd8bdcd 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11627" + #define REVISION_NR "11628" #endif // __REVISION_NR_H__