mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-14 03:11:27 +00:00
Pointer assertions for substring
This commit is contained in:
parent
4fe8c102da
commit
6fc38ec7cc
@ -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…
x
Reference in New Issue
Block a user