mirror of https://github.com/AxioDL/tinyxml2.git
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;
|
||||
--currentAllocs;
|
||||
Chunk* chunk = (Chunk*)mem;
|
||||
#ifdef DEBUG
|
||||
memset( chunk, 0xfe, sizeof(Chunk) );
|
||||
#endif
|
||||
chunk->next = root;
|
||||
root = chunk;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue