Fixed prettyPrintTo calling printTo

This commit is contained in:
Benoit Blanchon
2014-08-26 10:26:40 +02:00
parent f77a8b02e3
commit d71a39211d

View File

@ -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);
}