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;
|
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…
Reference in New Issue