From d71a39211d0832b8de16737e22b5e1ad2e83d724 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Tue, 26 Aug 2014 10:26:40 +0200 Subject: [PATCH] Fixed prettyPrintTo calling printTo --- JsonGenerator/JsonPrintable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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