Made JsonNode::type private

This commit is contained in:
Benoit Blanchon committed 2014-10-09 14:17:09 +02:00
1 parent b0e12e8852
commit 24c60619d5
10 files changed
+62 -61

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ void JsonArray::add(double value, int decimals)
void JsonArray::add(long value)
{
JsonNode* node = createNode(JSON_LONG);
JsonNode* node = createNode();
if (!node) return;
node->setAsLong(value);