From 683e44f5f8f8a622fc5c2b1c30c73fde48011bd2 Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 5 May 2020 01:33:01 +0300 Subject: [PATCH] Use static fun instead of member --- include/spdlog/sinks/ansicolor_sink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/sinks/ansicolor_sink.h b/include/spdlog/sinks/ansicolor_sink.h index 3dba7e85..1c975199 100644 --- a/include/spdlog/sinks/ansicolor_sink.h +++ b/include/spdlog/sinks/ansicolor_sink.h @@ -87,7 +87,7 @@ private: std::array colors_; void print_ccode_(const string_view_t &color_code); void print_range_(const memory_buf_t &formatted, size_t start, size_t end); - std::string to_string_(const string_view_t& sv); + static std::string to_string_(const string_view_t& sv); }; template