Permalink
Browse files

Merge pull request #6989 from lcsondes/fix-vector-assert

UICommon: fix m_cached_files pruning.
  • Loading branch information...
leoetlino committed May 28, 2018
2 parents 0cba9bb + 7a13bdb commit bda668925a25000c197764ceac678fe345e59ada
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/UICommon/GameFileCache.cpp
@@ -111,9 +111,9 @@ bool GameFileCache::Update(
cache_changed = true;
--end;
*it = std::move(*end);
m_cached_files.pop_back();
}
}
m_cached_files.erase(it, m_cached_files.end());
}
// Now that the previous loop has run, game_paths only contains paths that

0 comments on commit bda6689

Please sign in to comment.