Some minor changes and comments after memory profiling

This commit is contained in:
Henrik Rydgård committed 2023-12-08 12:22:12 +01:00
1 parent 89c320fe2b
commit a22450320b
7 files changed
+23 -18

No files matched your search

+1 -1
View File
@@ -764,7 +764,7 @@ void GameInfoCache::WaitUntilDone(std::shared_ptr<GameInfo> &info) {
std::shared_ptr<GameInfo> GameInfoCache::GetInfo(Draw::DrawContext *draw, const Path &gamePath, int wantFlags) {
std::shared_ptr<GameInfo> info;
std::string pathStr = gamePath.ToString();
const std::string &pathStr = gamePath.ToString();
auto iter = info_.find(pathStr);
if (iter != info_.end()) {