Przeglądaj źródła

Fixed prettyPrintTo calling printTo

Benoit Blanchon 11 lat temu
rodzic
commit
d71a39211d
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
 }