mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Added const to put_newline() in bin_to_hex.h
This commit is contained in:
parent
8b8bc20f30
commit
4b8ff51a29
@ -232,7 +232,7 @@ struct formatter<spdlog::details::dump_info<T>, char>
|
||||
|
||||
// put newline(and position header)
|
||||
template<typename It>
|
||||
void put_newline(It inserter, std::size_t pos)
|
||||
void put_newline(It inserter, std::size_t pos) const
|
||||
{
|
||||
#ifdef _WIN32
|
||||
*inserter++ = '\r';
|
||||
|
Loading…
Reference in New Issue
Block a user