From 2cae664104d312b95f194ca2570e9a43e489b096 Mon Sep 17 00:00:00 2001 From: Jean-Charles Lefebvre Date: Fri, 30 Dec 2016 18:45:13 +0100 Subject: [PATCH] Style --- doc/api.rst | 2 +- test/custom-formatter-test.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)