Made JsonNode::type private

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

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);