[11488] Add ObjectGuid::operator !() for use as shorter form of IsEmpty()

This commit is contained in:
zergtmn 2011-05-14 22:08:19 +06:00
parent 7d6b52641b
commit 639cac83a3
2 changed files with 2 additions and 1 deletions

View file

@ -162,6 +162,7 @@ class MANGOS_DLL_SPEC ObjectGuid
TypeID GetTypeId() const { return GetTypeId(GetHigh()); }
bool operator! () const { return IsEmpty(); }
bool operator== (ObjectGuid const& guid) const { return GetRawValue() == guid.GetRawValue(); }
bool operator!= (ObjectGuid const& guid) const { return GetRawValue() != guid.GetRawValue(); }
bool operator< (ObjectGuid const& guid) const { return GetRawValue() < guid.GetRawValue(); }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11487"
#define REVISION_NR "11488"
#endif // __REVISION_NR_H__