1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Use plain std::string_view instead of const &

This commit is contained in:
Gymnasiast
2020-11-06 11:40:52 +01:00
parent 53aef4e549
commit ce15e20c94
4 changed files with 8 additions and 9 deletions

View File

@@ -131,7 +131,7 @@ public:
return loadedObject;
}
Object* LoadObject(const std::string_view& identifier) override
Object* LoadObject(std::string_view identifier) override
{
const ObjectRepositoryItem* ori = _objectRepository.FindObject(identifier);
return RepositoryItemToObject(ori);