diff --git a/doc/api.rst b/doc/api.rst index 54895190..5a93b4aa 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -120,7 +120,7 @@ custom argument formatter class:: // A custom argument formatter that formats negative integers as unsigned // with the ``x`` format specifier. class CustomArgFormatter : - public fmt::BasicArgFormatter { + public fmt::BasicArgFormatter { public: CustomArgFormatter(fmt::BasicFormatter &f, fmt::FormatSpec &s, const char *fmt) diff --git a/test/custom-formatter-test.cc b/test/custom-formatter-test.cc index f662b191..cc9c4485 100644 --- a/test/custom-formatter-test.cc +++ b/test/custom-formatter-test.cc @@ -14,8 +14,8 @@ using fmt::BasicPrintfArgFormatter; // A custom argument formatter that doesn't print `-` for floating-point values // rounded to 0. -class CustomArgFormatter : - public fmt::BasicArgFormatter { +class CustomArgFormatter + : public fmt::BasicArgFormatter { public: CustomArgFormatter(fmt::BasicFormatter &f, fmt::FormatSpec &s, const char *fmt)