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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user