Pointer assertions for substring

This commit is contained in:
Dmitry-Me 2016-09-01 17:59:44 +03:00
parent 4fe8c102da
commit 6fc38ec7cc

View File

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