Merge pull request #473 from Dmitry-Me/preferConstAccess

Use const where const is enough
This commit is contained in:
Lee Thomason 2016-09-05 13:52:22 -07:00 committed by GitHub
commit 24694e9519
1 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ void StrPair::CollapseWhitespace()
_start = XMLUtil::SkipWhiteSpace( _start );
if ( *_start ) {
char* p = _start; // the read pointer
const char* p = _start; // the read pointer
char* q = _start; // the write pointer
while( *p ) {
@ -267,7 +267,7 @@ const char* StrPair::GetStr()
_flags ^= NEEDS_FLUSH;
if ( _flags ) {
char* p = _start; // the read pointer
const char* p = _start; // the read pointer
char* q = _start; // the write pointer
while( p < _end ) {