diff --git a/include/ArduinoJson/JsonArray.hpp b/include/ArduinoJson/JsonArray.hpp index e10b9649..26f55b57 100644 --- a/include/ArduinoJson/JsonArray.hpp +++ b/include/ArduinoJson/JsonArray.hpp @@ -80,7 +80,8 @@ class JsonArray : public Internals::JsonPrintable, private: // Create an empty JsonArray attached to the specified JsonBuffer. - explicit JsonArray(JsonBuffer *buffer) : List(buffer) {} + explicit JsonArray(JsonBuffer *buffer) + : Internals::List(buffer) {} // The instance returned by JsonArray::invalid() static JsonArray _invalid; diff --git a/include/ArduinoJson/JsonObject.hpp b/include/ArduinoJson/JsonObject.hpp index a6a6d3d2..b965970a 100644 --- a/include/ArduinoJson/JsonObject.hpp +++ b/include/ArduinoJson/JsonObject.hpp @@ -92,7 +92,7 @@ class JsonObject : public Internals::JsonPrintable, private: // Create an empty JsonArray attached to the specified JsonBuffer. - explicit JsonObject(JsonBuffer *buffer) : List(buffer) {} + explicit JsonObject(JsonBuffer *buffer) : Internals::List(buffer) {} // Returns the list node that matches the specified key. node_type *getNodeAt(key_type key) const;