mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 18:41:35 +08:00
Removed ref from to_string_ in ansicolor sink
This commit is contained in:
parent
9390881046
commit
9a7a9f6871
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
#include "../details/null_mutex.h"
|
#include "../details/null_mutex.h"
|
||||||
#include "base_sink.h"
|
#include "base_sink.h"
|
||||||
#include "sink.h"
|
|
||||||
|
|
||||||
namespace spdlog {
|
namespace spdlog {
|
||||||
namespace sinks {
|
namespace sinks {
|
||||||
@ -79,7 +78,7 @@ private:
|
|||||||
std::array<std::string, levels_count> colors_;
|
std::array<std::string, levels_count> colors_;
|
||||||
void print_ccode_(const string_view_t &color_code);
|
void print_ccode_(const string_view_t &color_code);
|
||||||
void print_range_(const memory_buf_t &formatted, size_t start, size_t end);
|
void print_range_(const memory_buf_t &formatted, size_t start, size_t end);
|
||||||
static std::string to_string_(const string_view_t &sv);
|
static std::string to_string_(const string_view_t sv);
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Mutex>
|
template <typename Mutex>
|
||||||
|
Loading…
Reference in New Issue
Block a user