mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 12:32:17 +02:00
Replaced non-const references by pointer to follow Google style guide
This commit is contained in:
@ -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);
|
||||
}
|
Reference in New Issue
Block a user