mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
clang-format
This commit is contained in:
parent
683080be53
commit
f31a834613
@ -14,7 +14,7 @@
|
|||||||
// {:s} - don't separate each byte with space.
|
// {:s} - don't separate each byte with space.
|
||||||
// {:p} - don't print the position on each line start.
|
// {:p} - don't print the position on each line start.
|
||||||
// {:n} - don't split the output to lines.
|
// {:n} - don't split the output to lines.
|
||||||
// {:a} - show ASCII if :n is not set
|
// {:a} - show ASCII if :n is not set
|
||||||
|
|
||||||
//
|
//
|
||||||
// Examples:
|
// Examples:
|
||||||
@ -155,10 +155,9 @@ struct formatter<spdlog::details::dump_info<T>>
|
|||||||
auto pc = static_cast<unsigned char>(*j);
|
auto pc = static_cast<unsigned char>(*j);
|
||||||
*inserter++ = std::isprint(pc) ? static_cast<char>(*j) : '.';
|
*inserter++ = std::isprint(pc) ? static_cast<char>(*j) : '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
put_newline(inserter, static_cast<size_t >(i - the_range.begin()));
|
put_newline(inserter, static_cast<size_t>(i - the_range.begin()));
|
||||||
|
|
||||||
// put first byte without delimiter in front of it
|
// put first byte without delimiter in front of it
|
||||||
*inserter++ = hex_chars[(ch >> 4) & 0x0f];
|
*inserter++ = hex_chars[(ch >> 4) & 0x0f];
|
||||||
|
Loading…
Reference in New Issue
Block a user