Minor changes

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

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;