mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Fix unexpected delimiter at start of line in to_hex formatter (#2627)
This commit is contained in:
parent
5a589438d2
commit
927cc29444
@ -196,7 +196,7 @@ struct formatter<spdlog::details::dump_info<T>, char>
|
||||
continue;
|
||||
}
|
||||
|
||||
if (put_delimiters)
|
||||
if (put_delimiters && i != the_range.get_begin())
|
||||
{
|
||||
*inserter++ = delimiter;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user