diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2021-05-17 21:00:13 +0200 |
|---|---|---|
| committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2021-11-02 13:50:21 +0100 |
| commit | ab252aedfa95095fe0e9a458e161b164c1156ca7 (patch) | |
| tree | af01ce621baeb1f3aa72287a88575233524cd208 /Source/Core/UICommon/GameFileCache.cpp | |
| parent | db02b50d2ecdfbbc21e19aadc57253c353069f77 (diff) | |
Core, DolphinQt, UICommon: Fix all cases of -Wrange-loop-construct in gcc 11
Diffstat (limited to 'Source/Core/UICommon/GameFileCache.cpp')
| -rw-r--r-- | Source/Core/UICommon/GameFileCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/UICommon/GameFileCache.cpp b/Source/Core/UICommon/GameFileCache.cpp index 30bbca924b..a1b55b3614 100644 --- a/Source/Core/UICommon/GameFileCache.cpp +++ b/Source/Core/UICommon/GameFileCache.cpp @@ -45,7 +45,7 @@ GameFileCache::GameFileCache() : m_path(File::GetUserPath(D_CACHE_IDX) + "gameli void GameFileCache::ForEach(std::function<void(const std::shared_ptr<const GameFile>&)> f) const { - for (const std::shared_ptr<const GameFile>& item : m_cached_files) + for (const std::shared_ptr<GameFile>& item : m_cached_files) f(item); } |
