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)
|
// put newline(and position header)
|
||||||
template<typename It>
|
template<typename It>
|
||||||
void put_newline(It inserter, std::size_t pos)
|
void put_newline(It inserter, std::size_t pos) const
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
*inserter++ = '\r';
|
*inserter++ = '\r';
|
||||||
|
Loading…
Reference in New Issue
Block a user