Commit 87e01353 authored by gabime's avatar gabime

wincolor sink fix

parent 1d9ec237
......@@ -105,7 +105,7 @@ private:
}
// print a range of formatted message to console
void print_range_(const fmt::memory_buffer formatted, size_t start, size_t end)
void print_range_(const fmt::memory_buffer &formatted, size_t start, size_t end)
{
auto size = static_cast<DWORD>(end - start);
::WriteConsoleA(out_handle_, formatted.data() + start, size, nullptr, nullptr);
......
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