mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #472 from Dmitry-Me/pointerAssertionsStrPairSet
Pointer assertions for substring
This commit is contained in:
commit
0d667f8fef
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue