forked from bblanchon/ArduinoJson
Fixed compilation error with old GCC version (like the one in Arduino 1.0.6)
This commit is contained in:
@ -80,7 +80,8 @@ class JsonArray : public Internals::JsonPrintable<JsonArray>,
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
// Create an empty JsonArray attached to the specified JsonBuffer.
|
// Create an empty JsonArray attached to the specified JsonBuffer.
|
||||||
explicit JsonArray(JsonBuffer *buffer) : List(buffer) {}
|
explicit JsonArray(JsonBuffer *buffer)
|
||||||
|
: Internals::List<JsonVariant>(buffer) {}
|
||||||
|
|
||||||
// The instance returned by JsonArray::invalid()
|
// The instance returned by JsonArray::invalid()
|
||||||
static JsonArray _invalid;
|
static JsonArray _invalid;
|
||||||
|
@ -92,7 +92,7 @@ class JsonObject : public Internals::JsonPrintable<JsonObject>,
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
// Create an empty JsonArray attached to the specified JsonBuffer.
|
// Create an empty JsonArray attached to the specified JsonBuffer.
|
||||||
explicit JsonObject(JsonBuffer *buffer) : List(buffer) {}
|
explicit JsonObject(JsonBuffer *buffer) : Internals::List<JsonPair>(buffer) {}
|
||||||
|
|
||||||
// Returns the list node that matches the specified key.
|
// Returns the list node that matches the specified key.
|
||||||
node_type *getNodeAt(key_type key) const;
|
node_type *getNodeAt(key_type key) const;
|
||||||
|
Reference in New Issue
Block a user