Use 'contains' method

This commit is contained in:
mitaclaw committed 2024-08-15 14:20:16 -07:00
1 parent 18ac8bf405
commit 9fa4eb9aab
9 files changed
+12 -14

No files matched your search

+1 -1
View File
@@ -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);