Pointer assertions for substring

This commit is contained in:
Dmitry-Me 2016-09-01 17:59:44 +03:00
parent 4fe8c102da
commit 6fc38ec7cc
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;