Fixed JsonContainer::operator==

This commit is contained in:
Benoit Blanchon
2014-10-13 21:01:11 +02:00
parent 3ae90b66c6
commit 88aed98447
3 changed files with 11 additions and 4 deletions

View File

@ -147,6 +147,11 @@ public:
return type == JSON_KEY_VALUE ? content.asKey.value : 0;
}
JsonNode* getProxyTarget()
{
return type == JSON_PROXY ? content.asProxy.target : this;
}
void addChild(JsonNode* childToAdd);
void removeChild(JsonNode* childToRemove);