1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00

Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen

This commit is contained in:
germanaizek
2022-04-25 16:37:32 +03:00
committed by Hielke Morsink
parent 0045aed7f9
commit 958bfbc08a
28 changed files with 59 additions and 67 deletions

View File

@@ -154,12 +154,12 @@ bool NetworkBase::Init()
{
status = NETWORK_STATUS_READY;
ServerName = std::string();
ServerDescription = std::string();
ServerGreeting = std::string();
ServerProviderName = std::string();
ServerProviderEmail = std::string();
ServerProviderWebsite = std::string();
ServerName.clear();
ServerDescription.clear();
ServerGreeting.clear();
ServerProviderName.clear();
ServerProviderEmail.clear();
ServerProviderWebsite.clear();
return true;
}