mirror of https://github.com/AxioDL/tinyxml2.git
Assertion in StrPair::SetStr()
This commit is contained in:
parent
f47b20f114
commit
0515fa9d27
|
@ -177,6 +177,7 @@ void StrPair::Reset()
|
||||||
|
|
||||||
void StrPair::SetStr( const char* str, int flags )
|
void StrPair::SetStr( const char* str, int flags )
|
||||||
{
|
{
|
||||||
|
TIXMLASSERT( str );
|
||||||
Reset();
|
Reset();
|
||||||
size_t len = strlen( str );
|
size_t len = strlen( str );
|
||||||
TIXMLASSERT( _start == 0 );
|
TIXMLASSERT( _start == 0 );
|
||||||
|
|
Loading…
Reference in New Issue