forked from rosebudai/OpenRCT2-Web
Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen
This commit is contained in:
1 parent
0045aed7f9
commit
958bfbc08a
28 files changed
+59
-67
No files matched your search
@@ -67,7 +67,7 @@ void StringTable::Read(IReadObjectContext* context, OpenRCT2::IStream* stream, O
|
||||
StringTableEntry entry{};
|
||||
entry.Id = id;
|
||||
entry.LanguageId = languageId;
|
||||
entry.Text = stringAsUtf8;
|
||||
entry.Text = std::move(stringAsUtf8);
|
||||
_strings.push_back(std::move(entry));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user