mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 19:54:06 +01:00
Codechange: Use format instead of to_string.
This commit is contained in:
@@ -323,7 +323,7 @@ void ClientNetworkContentSocketHandler::DownloadSelectedContentHTTP(const Conten
|
||||
{
|
||||
std::string content_request;
|
||||
for (const ContentID &id : content) {
|
||||
content_request += std::to_string(id) + "\n";
|
||||
format_append(content_request, "{}\n", id);
|
||||
}
|
||||
|
||||
this->http_response_index = -1;
|
||||
|
||||
Reference in New Issue
Block a user