This commit is contained in:
Gabi Melman 2020-07-08 18:50:51 +03:00 committed by GitHub
parent c62ba5f48d
commit 19f2804661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
{