Test that JsonArray grows after calling add()

This commit is contained in:
Benoit Blanchon
2014-10-05 14:48:19 +02:00
parent cb3c59ec07
commit 4c67d0579a
5 changed files with 22 additions and 15 deletions

View File

@ -16,7 +16,10 @@ public:
// JsonValue operator[](int index);
// template<typename T>
// void add(T value);
template<typename T>
void add(T value)
{
addChild(createNode(JSON_UNDEFINED));
}
};