Minor changes

This commit is contained in:
Benoit Blanchon committed 2014-10-09 14:48:55 +02:00
1 parent 0dce0022d3
commit bf2d726746
3 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ void JsonNode::writeTo(JsonWriter& writer)
}
}
void JsonNode::addChildToContainer(JsonNode* childToAdd)
void JsonNode::addChild(JsonNode* childToAdd)
{
if (type != JSON_ARRAY && type != JSON_OBJECT) return;
@@ -52,7 +52,7 @@ void JsonNode::addChildToContainer(JsonNode* childToAdd)
lastChild->next = childToAdd;
}
void JsonNode::removeChildFromContainer(JsonNode* childToRemove)
void JsonNode::removeChild(JsonNode* childToRemove)
{
if (type != JSON_ARRAY && type != JSON_OBJECT) return;