summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authormitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-08-15 14:20:16 -0700
committermitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-08-15 14:20:16 -0700
commit9fa4eb9aab4790ab370c92790de4f001eb50871e (patch)
tree5bffa4209a5cf95ef4e77cb49c0aa77cb458c141 /Source/Core/VideoCommon
parent18ac8bf4055093d5aece0e631d04e4d38ec8f0c6 (diff)
Use 'contains' method
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/ShaderCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/ShaderCache.cpp b/Source/Core/VideoCommon/ShaderCache.cpp
index ca409777ce..587ee3cc7f 100644
--- a/Source/Core/VideoCommon/ShaderCache.cpp
+++ b/Source/Core/VideoCommon/ShaderCache.cpp
@@ -290,7 +290,7 @@ void ShaderCache::LoadPipelineCache(T& cache, Common::LinearDiskCache<DiskKeyTyp
UnserializePipelineUid(key, real_uid);
// Skip those which are already compiled.
- if (failed || cache.find(real_uid) != cache.end())
+ if (failed || cache.contains(real_uid))
return;
auto config = this_ptr->GetGXPipelineConfig(real_uid);