Replaced non-const references by pointer to follow Google style guide

This commit is contained in:
Benoit Blanchon
2014-10-11 16:58:24 +02:00
parent 35eaa55b3a
commit b49aa22c65
12 changed files with 51 additions and 48 deletions

View File

@ -27,7 +27,7 @@ size_t IndentedPrint::write(uint8_t c)
if (isNewLine)
n += writeTabs();
n += sink.write(c);
n += sink->write(c);
isNewLine = c == '\n';
@ -39,7 +39,7 @@ inline size_t IndentedPrint::writeTabs()
size_t n = 0;
for (int i = 0; i < level*tabSize; i++)
n += sink.write(' ');
n += sink->write(' ');
return n;
}