Codechange: If something is a vector of strings, use a vector of strings instead of an AutoFreeSmallVector.

This commit is contained in:
Michael Lutz
2019-04-02 21:31:33 +02:00
parent c7b9987d08
commit e804173595
15 changed files with 94 additions and 104 deletions

View File

@@ -1045,8 +1045,8 @@ void ShowNetworkGameWindow()
if (first) {
first = false;
/* Add all servers from the config file to our list. */
for (char *iter : _network_host_list) {
NetworkAddServer(iter);
for (const auto &iter : _network_host_list) {
NetworkAddServer(iter.c_str());
}
}