Просмотр исходного кода

Fixed prettyPrintTo calling printTo

Benoit Blanchon 11 лет назад
Родитель
Сommit
d71a39211d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      JsonGenerator/JsonPrintable.cpp

+ 1 - 1
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);
 }