mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
Moved IndentedPrint into the namespace ArduinoJson::Generator
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "IndentedPrint.h"
|
||||
|
||||
using namespace ArduinoJson::Generator;
|
||||
|
||||
void IndentedPrint::indent()
|
||||
{
|
||||
if (level<127)
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
|
||||
#include "Print.h"
|
||||
|
||||
namespace ArduinoJson
|
||||
{
|
||||
namespace Generator
|
||||
{
|
||||
class IndentedPrint : public Print
|
||||
{
|
||||
public:
|
||||
@@ -30,4 +34,6 @@ private:
|
||||
|
||||
size_t writeTabs();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user