mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
MappingCommon: Make use of std::erase_if
This commit is contained in:
@ -144,8 +144,7 @@ void RemoveSpuriousTriggerCombinations(
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
detections->erase(std::remove_if(detections->begin(), detections->end(), is_spurious),
|
std::erase_if(*detections, is_spurious);
|
||||||
detections->end());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace ciface::MappingCommon
|
} // namespace ciface::MappingCommon
|
||||||
|
Reference in New Issue
Block a user