From 9f69fabe20bce88fff7aa61cbd820d2202e9f184 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Sat, 25 Oct 2014 16:11:04 +0200 Subject: [PATCH] Cleaned JsonNodeWrapper --- include/ArduinoJson/Internals/JsonNodeWrapper.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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;