Skip to content
forked from fmtlib/fmt

Commit

Permalink
Merge pull request #88 from fmtlib/master
Browse files Browse the repository at this point in the history
Fix FMT_FORMAT_AS const specifier position (fmtlib#1554)
  • Loading branch information
sthagen authored Feb 23, 2020
2 parents 5c5af52 + 2161a73 commit 2772747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -2953,7 +2953,7 @@ struct formatter<T, Char,
template <typename Char> \
struct formatter<Type, Char> : formatter<Base, Char> { \
template <typename FormatContext> \
auto format(const Type& val, FormatContext& ctx) -> decltype(ctx.out()) { \
auto format(Type const& val, FormatContext& ctx) -> decltype(ctx.out()) { \
return formatter<Base, Char>::format(val, ctx); \
} \
}
Expand Down

0 comments on commit 2772747

Please sign in to comment.