Switched to Google coding style to match cpplint expectations

This commit is contained in:
Benoit Blanchon
2014-10-23 23:13:13 +02:00
parent 5c8283b3e4
commit b43da1e421
47 changed files with 262 additions and 308 deletions

View File

@@ -5,7 +5,7 @@
namespace ArduinoJson {
namespace Internals {
class JsonWriter {
public:
public:
explicit JsonWriter(Print *sink) : _sink(sink), _length(0) {}
size_t bytesWritten() { return _length; }
@@ -31,7 +31,7 @@ public:
void writeEmptyObject() { _length += _sink->print("{}"); }
protected:
protected:
Print *_sink;
size_t _length;
};