Fixed compiler warning

This commit is contained in:
Benoit Blanchon
2014-10-11 16:59:16 +02:00
parent b49aa22c65
commit d192a14e2e

View File

@ -89,7 +89,7 @@ void JsonNode::writeArrayTo(JsonWriter& writer)
{
writer.beginArray();
while (true)
for (;;)
{
child->writeTo(writer);
@ -115,7 +115,7 @@ void JsonNode::writeObjectTo(JsonWriter& writer)
{
writer.beginObject();
while (true)
for (;;)
{
writer.writeString(child->content.asKey.key);
writer.writeColon();