diff --git a/srcs/Internals/JsonNode.cpp b/srcs/Internals/JsonNode.cpp index 8e08be318..2c3e4e1c6 100644 --- a/srcs/Internals/JsonNode.cpp +++ b/srcs/Internals/JsonNode.cpp @@ -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();