mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9553] Make GCC really happy...
This commit is contained in:
parent
9a884bdd83
commit
17d8c4d075
4 changed files with 7 additions and 7 deletions
|
|
@ -118,8 +118,8 @@ class PackedGuid;
|
|||
|
||||
struct PackedGuidReader
|
||||
{
|
||||
explicit PackedGuidReader(ObjectGuid& guid) : m_guidRef(guid) {}
|
||||
ObjectGuid& m_guidRef;
|
||||
explicit PackedGuidReader(ObjectGuid& guid) : m_guidPtr(&guid) {}
|
||||
ObjectGuid* m_guidPtr;
|
||||
};
|
||||
|
||||
class ObjectGuid
|
||||
|
|
@ -233,7 +233,7 @@ ByteBuffer& operator<< (ByteBuffer& buf, ObjectGuid const& guid);
|
|||
ByteBuffer& operator>> (ByteBuffer& buf, ObjectGuid& guid);
|
||||
|
||||
ByteBuffer& operator<< (ByteBuffer& buf, PackedGuid const& guid);
|
||||
ByteBuffer& operator>> (ByteBuffer& buf, PackedGuidReader& guid);
|
||||
ByteBuffer& operator>> (ByteBuffer& buf, PackedGuidReader const& guid);
|
||||
|
||||
inline PackedGuid ObjectGuid::WriteAsPacked() const { return PackedGuid(*this); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue