Added const to put_newline() in bin_to_hex.h

This commit is contained in:
gabime 2023-07-04 18:00:20 +03:00
parent 8b8bc20f30
commit 4b8ff51a29

View File

@ -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';