Assertion in StrPair::SetStr()

This commit is contained in:
Dmitry-Me 2015-12-09 11:54:06 +03:00
parent f47b20f114
commit 0515fa9d27
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ void StrPair::Reset()
void StrPair::SetStr( const char* str, int flags )
{
TIXMLASSERT( str );
Reset();
size_t len = strlen( str );
TIXMLASSERT( _start == 0 );