mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 05:29:11 +00:00
Codechange: minor bits and pieces related to fmt::format() (#11806)
- Don't make run-time formatting what can be done compile-time. - Be explicit about run-time formatting. - Fix datetime printing.
This commit is contained in:
@@ -95,7 +95,7 @@ void DumpDebugFacilityNames(std::back_insert_iterator<std::string> &output_itera
|
||||
} else {
|
||||
fmt::format_to(output_iterator, ", ");
|
||||
}
|
||||
fmt::format_to(output_iterator, i->name);
|
||||
fmt::format_to(output_iterator, "{}", i->name);
|
||||
written = true;
|
||||
}
|
||||
if (written) {
|
||||
|
Reference in New Issue
Block a user