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

@ -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;