diff --git a/JsonGenerator/JsonPrintable.cpp b/JsonGenerator/JsonPrintable.cpp index beb21454..750cf211 100644 --- a/JsonGenerator/JsonPrintable.cpp +++ b/JsonGenerator/JsonPrintable.cpp @@ -25,5 +25,5 @@ size_t JsonPrintable::prettyPrintTo(IndentedPrint& p) const size_t JsonPrintable::prettyPrintTo(Print& p) const { IndentedPrint indentedPrint(p); - return printTo(indentedPrint); + return prettyPrintTo(indentedPrint); } \ No newline at end of file