Core: Pass by const reference for simple objects replaced with pass by value
This commit is contained in:
1 parent
1fc1da842e
commit
acd0fc79f6
63 files changed
+263
-263
No files matched your search
@@ -299,7 +299,7 @@ class ByteBuffer
|
||||
_rpos += len;
|
||||
}
|
||||
|
||||
void readPackGUID(uint64& guid)
|
||||
void readPackGUID(uint64 guid)
|
||||
{
|
||||
if(rpos() + 1 > size())
|
||||
throw ByteBufferException(false, _rpos, 1, size());
|
||||
|
||||
Reference in new issue
Block a user