This commit is contained in:
Gabi Melman
2020-07-08 18:50:51 +03:00
committed by GitHub
parent c62ba5f48d
commit 19f2804661

View File

@@ -92,7 +92,7 @@ struct formatter<spdlog::details::dump_info<T>>
auto parse(ParseContext &ctx) -> decltype(ctx.begin())
{
auto it = ctx.begin();
while (*it && *it != '}')
while (it != ctx.end() && *it != '}')
{
switch (*it)
{