mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-14 19:31:23 +00:00
remove debug mem write when in release mode
This commit is contained in:
parent
77d7f206f6
commit
6020a01812
@ -282,7 +282,9 @@ public:
|
|||||||
if ( !mem ) return;
|
if ( !mem ) return;
|
||||||
--currentAllocs;
|
--currentAllocs;
|
||||||
Chunk* chunk = (Chunk*)mem;
|
Chunk* chunk = (Chunk*)mem;
|
||||||
|
#ifdef DEBUG
|
||||||
memset( chunk, 0xfe, sizeof(Chunk) );
|
memset( chunk, 0xfe, sizeof(Chunk) );
|
||||||
|
#endif
|
||||||
chunk->next = root;
|
chunk->next = root;
|
||||||
root = chunk;
|
root = chunk;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user