From 4b8ff51a29c4fdada2141847551702dc8ca6300b Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 4 Jul 2023 18:00:20 +0300 Subject: [PATCH] Added const to put_newline() in bin_to_hex.h --- include/spdlog/fmt/bin_to_hex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/fmt/bin_to_hex.h b/include/spdlog/fmt/bin_to_hex.h index 3209c1dc..3bf003d4 100644 --- a/include/spdlog/fmt/bin_to_hex.h +++ b/include/spdlog/fmt/bin_to_hex.h @@ -232,7 +232,7 @@ struct formatter, char> // put newline(and position header) template - void put_newline(It inserter, std::size_t pos) + void put_newline(It inserter, std::size_t pos) const { #ifdef _WIN32 *inserter++ = '\r';