clang_format
This commit is contained in:
parent
724713ac80
commit
05cac05c06
|
@ -78,7 +78,6 @@ namespace spdlog {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
template<typename ConsoleMutex>
|
||||
void SPDLOG_INLINE wincolor_sink<ConsoleMutex>::flush()
|
||||
{
|
||||
|
@ -120,8 +119,7 @@ namespace spdlog {
|
|||
template<typename ConsoleMutex>
|
||||
WORD SPDLOG_INLINE wincolor_sink<ConsoleMutex>::set_console_attribs(WORD attribs)
|
||||
{
|
||||
in_console_
|
||||
CONSOLE_SCREEN_BUFFER_INFO orig_buffer_info;
|
||||
in_console_ CONSOLE_SCREEN_BUFFER_INFO orig_buffer_info;
|
||||
::GetConsoleScreenBufferInfo(out_handle_, &orig_buffer_info);
|
||||
WORD back_color = orig_buffer_info.wAttributes;
|
||||
// retrieve the current background color
|
||||
|
@ -139,7 +137,6 @@ namespace spdlog {
|
|||
::WriteConsoleA(out_handle_, formatted.data() + start, size, nullptr, nullptr);
|
||||
}
|
||||
|
||||
|
||||
template<typename ConsoleMutex>
|
||||
void SPDLOG_INLINE wincolor_sink<ConsoleMutex>::write_to_file_(const fmt::memory_buffer &formatted)
|
||||
{
|
||||
|
|
|
@ -61,7 +61,6 @@ protected:
|
|||
|
||||
// in case we are redirected to file (not in console mode)
|
||||
void write_to_file_(const fmt::memory_buffer &formatted);
|
||||
|
||||
};
|
||||
|
||||
template<typename ConsoleMutex>
|
||||
|
|
Loading…
Reference in New Issue