mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-30 16:01:09 -04:00
Use 'contains' method
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user