Extracted class JsonContainer

This commit is contained in:
Benoit Blanchon
2014-10-01 16:13:36 +02:00
parent d66a7adc22
commit b0e43f7538
9 changed files with 63 additions and 31 deletions

View File

@ -11,7 +11,7 @@ JsonObject JsonBuffer::createObject()
JsonNode* node = createNode(JSON_OBJECT);
if (node)
node->content.asObject.buffer = this;
node->content.asContainer.buffer = this;
return JsonObject(node);
}