Fixed compilation error with old GCC version (like the one in Arduino 1.0.6)

This commit is contained in:
Benoit Blanchon
2014-11-07 12:12:58 +01:00
parent 8c4c3d8fda
commit 93397880ca
2 changed files with 3 additions and 2 deletions

View File

@ -92,7 +92,7 @@ class JsonObject : public Internals::JsonPrintable<JsonObject>,
private:
// 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.
node_type *getNodeAt(key_type key) const;