clang-format

This commit is contained in:
gabime 2020-05-05 01:42:39 +03:00
parent 683e44f5f8
commit 597e89efe3
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ SPDLOG_INLINE void ansicolor_sink<ConsoleMutex>::print_range_(const memory_buf_t
} }
template<typename ConsoleMutex> template<typename ConsoleMutex>
SPDLOG_INLINE std::string ansicolor_sink<ConsoleMutex>::to_string_(const string_view_t& sv) SPDLOG_INLINE std::string ansicolor_sink<ConsoleMutex>::to_string_(const string_view_t &sv)
{ {
return std::string(sv.data(), sv.size()); return std::string(sv.data(), sv.size());
} }

View File

@ -87,7 +87,7 @@ private:
std::array<std::string, level::n_levels> colors_; std::array<std::string, level::n_levels> 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 ConsoleMutex> template<typename ConsoleMutex>