From a38bd9ca2423a9f46786732a576ebde05d54e3bf Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 22 Oct 2017 07:19:45 -0700 Subject: [PATCH] Fix formatting and naming --- include/fmt/format.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 8e7e0121..62100abc 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1106,11 +1106,11 @@ struct string_value { template struct custom_value { - typedef void (*FormatFunc)( + typedef void (*format_func)( basic_buffer &buffer, const void *arg, void *ctx); const void *value; - FormatFunc format; + format_func format; }; template @@ -3050,7 +3050,7 @@ class custom_formatter { Context &ctx_; public: - custom_formatter(basic_buffer &buffer,Context &ctx) + custom_formatter(basic_buffer &buffer, Context &ctx) : buffer_(buffer), ctx_(ctx) {} bool operator()(internal::custom_value custom) {