summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/GameFileCache.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-11-06 14:38:07 +0100
committerGitHub <noreply@github.com>2021-11-06 14:38:07 +0100
commit2c5d11cacebe05450ee4c5d276044e110ed286c1 (patch)
treef23d61c46eb8e9c4d2c22264ee08d9c831d8a34c /Source/Core/UICommon/GameFileCache.cpp
parent39ccdc1f98d4ede1dcb25054e3bf805d3f91ab70 (diff)
parent5a1333026be53c36dd23a886d66fe779a6853210 (diff)
Merge pull request #9721 from linkmauve/fix-warnings
Fix some warnings found with gcc 11 and ffmpeg master
Diffstat (limited to 'Source/Core/UICommon/GameFileCache.cpp')
-rw-r--r--Source/Core/UICommon/GameFileCache.cpp2
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);
}