clang-format

This commit is contained in:
gabime 2020-02-25 15:10:44 +02:00
parent 0b91d55269
commit c71b433a35
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ private:
mutex_t &mutex_; mutex_t &mutex_;
bool should_do_colors_; bool should_do_colors_;
std::unique_ptr<spdlog::formatter> formatter_; std::unique_ptr<spdlog::formatter> formatter_;
std::array<string_view_t , level::n_levels> colors_; std::array<string_view_t, 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);
}; };

View File

@ -52,7 +52,7 @@ protected:
bool in_console_; bool in_console_;
bool should_do_colors_; bool should_do_colors_;
std::unique_ptr<spdlog::formatter> formatter_; std::unique_ptr<spdlog::formatter> formatter_;
std::array<WORD , level::n_levels> colors_; std::array<WORD, level::n_levels> colors_;
// set foreground color and return the orig console attributes (for resetting later) // set foreground color and return the orig console attributes (for resetting later)
WORD set_foreground_color_(WORD attribs); WORD set_foreground_color_(WORD attribs);