Core: Pass by const reference for simple objects replaced with pass by value

This commit is contained in:
Spp- committed 2011-08-01 14:23:27 +02:00
1 parent 1fc1da842e
commit acd0fc79f6
63 files changed
+263 -263

No files matched your search

+1 -1
View File
@@ -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());