mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
Cleanup Operator padding
This commit is contained in:
parent
9141299127
commit
e32b9953a1
264 changed files with 6715 additions and 6715 deletions
|
|
@ -76,10 +76,10 @@ class ByteBuffer
|
|||
_rpos = _wpos = 0;
|
||||
}
|
||||
|
||||
template <typename T> void put(size_t pos,T value)
|
||||
template <typename T> void put(size_t pos, T value)
|
||||
{
|
||||
EndianConvert(value);
|
||||
put(pos,(uint8*)&value,sizeof(value));
|
||||
put(pos, (uint8*)&value, sizeof(value));
|
||||
}
|
||||
|
||||
ByteBuffer& operator<<(uint8 value)
|
||||
|
|
@ -384,7 +384,7 @@ class ByteBuffer
|
|||
|
||||
void appendPackGUID(uint64 guid)
|
||||
{
|
||||
uint8 packGUID[8+1];
|
||||
uint8 packGUID[8 + 1];
|
||||
packGUID[0] = 0;
|
||||
size_t size = 1;
|
||||
for (uint8 i = 0; guid != 0; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue