forked from bblanchon/ArduinoJson
Fixed cpplint warnings
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user