Commit a6945d04 authored by Charless Milette's avatar Charless Milette

Fix use of Char

parent 108c656e
...@@ -74,7 +74,7 @@ struct daily_filename_format_calculator ...@@ -74,7 +74,7 @@ struct daily_filename_format_calculator
return buf; return buf;
#else #else
fmt::basic_memory_buffer<Char> tm_format; fmt::basic_memory_buffer<filename_t::value_type> tm_format;
tm_format.append(specs.begin(), specs.end()); tm_format.append(specs.begin(), specs.end());
// By appending an extra space we can distinguish an empty result that // By appending an extra space we can distinguish an empty result that
// indicates insufficient buffer size from a guaranteed non-empty result // indicates insufficient buffer size from a guaranteed non-empty result
...@@ -82,7 +82,7 @@ struct daily_filename_format_calculator ...@@ -82,7 +82,7 @@ struct daily_filename_format_calculator
tm_format.push_back(' '); tm_format.push_back(' ');
tm_format.push_back('\0'); tm_format.push_back('\0');
fmt::basic_memory_buffer<Char> buf; fmt::basic_memory_buffer<filename_t::value_type> buf;
size_t start = buf.size(); size_t start = buf.size();
for (;;) for (;;)
{ {
......
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