Skip to content
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 bda6689
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.