Unify SkipWhiteSpace()/ReadBOM() calls, add asserts

This commit is contained in:
Dmitry-Me
2014-12-24 11:54:05 +03:00
parent 69242c4b9b
commit bb836dce57
2 changed files with 13 additions and 9 deletions

View File

@@ -533,9 +533,11 @@ class XMLUtil
{
public:
static const char* SkipWhiteSpace( const char* p ) {
TIXMLASSERT( p );
while( IsWhiteSpace(*p) ) {
++p;
}
TIXMLASSERT( p );
return p;
}
static char* SkipWhiteSpace( char* p ) {