GameList: Use string_view for GetEntryForPath()
This commit is contained in:
@@ -77,7 +77,7 @@ bool PopulateEntryFromPath(const std::string& path, Entry* entry);
|
||||
// Game list access. It's the caller's responsibility to hold the lock while manipulating the entry in any way.
|
||||
std::unique_lock<std::recursive_mutex> GetLock();
|
||||
const Entry* GetEntryByIndex(u32 index);
|
||||
const Entry* GetEntryForPath(const char* path);
|
||||
const Entry* GetEntryForPath(std::string_view path);
|
||||
const Entry* GetEntryBySerial(std::string_view serial);
|
||||
const Entry* GetEntryBySerialAndHash(std::string_view serial, u64 hash);
|
||||
std::vector<const Entry*> GetDiscSetMembers(std::string_view disc_set_name);
|
||||
|
||||
Reference in New Issue
Block a user