mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 14:58:32 +00:00
MappingCommon: Make use of std::erase_if
This commit is contained in:
parent
888a8692b4
commit
196f8e5123
1 changed files with 1 additions and 2 deletions
|
@ -144,8 +144,7 @@ void RemoveSpuriousTriggerCombinations(
|
|||
});
|
||||
};
|
||||
|
||||
detections->erase(std::remove_if(detections->begin(), detections->end(), is_spurious),
|
||||
detections->end());
|
||||
std::erase_if(*detections, is_spurious);
|
||||
}
|
||||
|
||||
} // namespace ciface::MappingCommon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue