Codechange: Use format instead of to_string.

This commit is contained in:
frosch
2025-04-29 12:41:06 +02:00
committed by frosch
parent fda93b6f35
commit afe3dfb3a4
12 changed files with 38 additions and 40 deletions
+1 -1
View File
@@ -643,7 +643,7 @@ std::string GRFBuildParamList(const GRFConfig &c)
std::string result;
for (const uint32_t &value : c.param) {
if (!result.empty()) result += ' ';
result += std::to_string(value);
format_append(result, "{}", value);
}
return result;
}