From 49b4c1e9db7c9a0205e6d5eec62d28785c2542ca Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 2 Oct 2018 06:21:19 -0700 Subject: [PATCH] Update docs --- doc/api.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api.rst b/doc/api.rst index 5ecaaa46..85c36b19 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -248,7 +248,8 @@ custom argument formatter class:: // with the ``x`` format specifier. class custom_arg_formatter : public arg_formatter { public: - custom_arg_formatter(fmt::format_context &ctx, fmt::format_specs &spec) + custom_arg_formatter(fmt::format_context &ctx, + fmt::format_specs *spec = nullptr) : arg_formatter(ctx, spec) {} using arg_formatter::operator();