Browse Source

Cleaned JsonNodeWrapper

Benoit Blanchon 11 years ago
parent
commit
9f69fabe20
1 changed files with 1 additions and 5 deletions
  1. 1 5
      include/ArduinoJson/Internals/JsonNodeWrapper.hpp

+ 1 - 5
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;