Fix build issues under C++11

This commit is contained in:
Charless Milette
2021-11-13 12:02:40 -05:00
parent 6ff1b83038
commit 89c4b1aabe
3 changed files with 8 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ struct formatter<spdlog::details::dump_info<T>, char>
// parse the format string flags
template<typename ParseContext>
SPDLOG_CONSTEXPR auto parse(ParseContext &ctx) -> decltype(ctx.begin())
SPDLOG_CONSTEXPR_FUNC auto parse(ParseContext &ctx) -> decltype(ctx.begin())
{
auto it = ctx.begin();
while (it != ctx.end() && *it != '}')