mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Use 'contains' method
This commit is contained in:
parent
5af0ae25e6
commit
618b41a459
31 changed files with 46 additions and 52 deletions
|
@ -279,7 +279,7 @@ TodoList ComputeActionsToDo(Manifest this_manifest, Manifest next_manifest)
|
|||
// Delete if present in this manifest but not in next manifest.
|
||||
for (const auto& entry : this_manifest.entries)
|
||||
{
|
||||
if (next_manifest.entries.find(entry.first) == next_manifest.entries.end())
|
||||
if (!next_manifest.entries.contains(entry.first))
|
||||
{
|
||||
TodoList::DeleteOp del;
|
||||
del.filename = entry.first;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue