Fixed cpplint warnings

This commit is contained in:
Benoit Blanchon
2014-11-11 16:41:45 +01:00
parent 99e5ff78f3
commit 0911d8d796
2 changed files with 13 additions and 11 deletions

View File

@ -1,7 +1,8 @@
/* // Copyright Benoit Blanchon 2014
* Arduino JSON library // MIT License
* Benoit Blanchon 2014 - MIT License //
*/ // Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
#pragma once #pragma once
@ -13,7 +14,7 @@ namespace Internals {
// Converts a compact JSON string into an indented one. // Converts a compact JSON string into an indented one.
class Prettyfier : public Print { class Prettyfier : public Print {
public: public:
Prettyfier(IndentedPrint& p) : _sink(p) { explicit Prettyfier(IndentedPrint& p) : _sink(p) {
_previousChar = 0; _previousChar = 0;
_inString = false; _inString = false;
} }

View File

@ -1,7 +1,8 @@
/* // Copyright Benoit Blanchon 2014
* Arduino JSON library // MIT License
* Benoit Blanchon 2014 - MIT License //
*/ // Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
#include "../../include/ArduinoJson/Internals/Prettyfier.hpp" #include "../../include/ArduinoJson/Internals/Prettyfier.hpp"