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

@ -11,15 +11,15 @@ void JsonWriter::writeString(char const* value)
void JsonWriter::writeInteger(long value)
{
_length += _sink.print(value);
_length += _sink->print(value);
}
void JsonWriter::writeBoolean(bool value)
{
_length += _sink.print(value ? "true" : "false");
_length += _sink->print(value ? "true" : "false");
}
void JsonWriter::writeDouble(double value, int decimals)
{
_length += _sink.print(value, decimals);
_length += _sink->print(value, decimals);
}