diff --git a/include/ArduinoJson/Internals/JsonNodeWrapper.hpp b/include/ArduinoJson/Internals/JsonNodeWrapper.hpp index 1776f148..dc1bb055 100644 --- a/include/ArduinoJson/Internals/JsonNodeWrapper.hpp +++ b/include/ArduinoJson/Internals/JsonNodeWrapper.hpp @@ -6,21 +6,17 @@ #pragma once -#include "../ForwardDeclarations.hpp" #include "JsonNode.hpp" namespace ArduinoJson { namespace Internals { class JsonNodeWrapper { - friend class JsonValue; - - public: + protected: JsonNodeWrapper() : _node(0) {} explicit JsonNodeWrapper(JsonNode *node) : _node(node) {} - protected: void duplicate(const JsonNodeWrapper &other) { if (!_node) { _node = other._node;