Unverified Commit 76d94e69 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Fix #1439

parent 0f42744f
......@@ -111,7 +111,7 @@ SPDLOG_INLINE void ansicolor_sink<ConsoleMutex>::set_color_mode(color_mode mode)
template<typename ConsoleMutex>
SPDLOG_INLINE void ansicolor_sink<ConsoleMutex>::print_ccode_(const string_view_t &color_code)
{
fwrite(color_code.data(), sizeof(string_view_t::char_type), color_code.size(), target_file_);
fwrite(color_code.data(), sizeof(string_view_t::value_type), color_code.size(), target_file_);
}
template<typename ConsoleMutex>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment