forked from bblanchon/ArduinoJson
Replaced non-const references by pointer to follow Google style guide
This commit is contained in:
@ -19,7 +19,7 @@ namespace ArduinoJson
|
||||
public:
|
||||
|
||||
IndentedPrint(Print& p)
|
||||
: sink(p)
|
||||
: sink(&p)
|
||||
{
|
||||
level = 0;
|
||||
tabSize = 2;
|
||||
@ -38,7 +38,7 @@ namespace ArduinoJson
|
||||
void setTabSize(uint8_t n);
|
||||
|
||||
private:
|
||||
Print& sink;
|
||||
Print* sink;
|
||||
uint8_t level : 4;
|
||||
uint8_t tabSize : 3;
|
||||
bool isNewLine : 1;
|
||||
|
Reference in New Issue
Block a user