Merge pull request #472 from Dmitry-Me/pointerAssertionsStrPairSet

Pointer assertions for substring
This commit is contained in:
Lee Thomason 2016-09-05 13:51:59 -07:00 committed by GitHub
commit 0d667f8fef
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,8 @@ public:
~StrPair();
void Set( char* start, char* end, int flags ) {
TIXMLASSERT( start );
TIXMLASSERT( end );
Reset();
_start = start;
_end = end;