Skip to content

Commit

Permalink
Added const to put_newline() in bin_to_hex.h
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Jul 4, 2023
1 parent 8b8bc20 commit 4b8ff51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/fmt/bin_to_hex.h
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 4b8ff51

Please sign in to comment.