Codechange: remove const char* overloads when there are std::string_view and std::string& overloads

This commit is contained in:
Rubidium
2025-04-28 21:04:49 +02:00
committed by rubidium42
parent a5578166bb
commit 78250c3bba
13 changed files with 18 additions and 24 deletions

View File

@@ -390,7 +390,7 @@ class BuildIndustryWindow : public Window {
if (numcargo > 0) {
cargostring = GetString(prefixstr, CargoSpec::Get(cargolist[firstcargo])->name, cargo_suffix[firstcargo].text) + cargostring;
} else {
cargostring = GetString(prefixstr, STR_JUST_NOTHING, "");
cargostring = GetString(prefixstr, STR_JUST_NOTHING, ""sv);
}
return cargostring;