mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16: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
|
|
@ -36,7 +36,7 @@ void SQLStorage::EraseEntry(uint32 id)
|
|||
case FT_STRING:
|
||||
{
|
||||
if (pIndex[id])
|
||||
delete [] *(char**)((char*)(pIndex[id])+offset);
|
||||
delete [] *(char**)((char*)(pIndex[id]) + offset);
|
||||
|
||||
offset += sizeof(char*);
|
||||
break;
|
||||
|
|
@ -81,7 +81,7 @@ void SQLStorage::Free()
|
|||
{
|
||||
for (uint32 y = 0; y < MaxEntry; ++y)
|
||||
if (pIndex[y])
|
||||
delete [] *(char**)((char*)(pIndex[y])+offset);
|
||||
delete [] *(char**)((char*)(pIndex[y]) + offset);
|
||||
|
||||
offset += sizeof(char*);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue