Merge pull request #401 from Dmitry-Me/assertForNonNullString

Assertion in StrPair::SetStr()
This commit is contained in:
Lee Thomason 2015-12-09 11:36:59 -08:00
commit 9c8582c7c3
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 );