mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 06:32:06 +08:00
Fix #1195
This commit is contained in:
parent
fafedd2d59
commit
b693d0cd91
@ -116,7 +116,12 @@ struct formatter<spdlog::details::bytes_range<T>>
|
|||||||
|
|
||||||
std::size_t pos = 0;
|
std::size_t pos = 0;
|
||||||
std::size_t column = line_size;
|
std::size_t column = line_size;
|
||||||
|
#if FMT_VERSION < 60000
|
||||||
auto inserter = ctx.begin();
|
auto inserter = ctx.begin();
|
||||||
|
#else
|
||||||
|
auto inserter = ctx.out();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
for (auto &item : the_range)
|
for (auto &item : the_range)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user