MappingCommon: Make use of std::erase_if

This commit is contained in:
Lioncash committed 2023-12-12 13:31:18 -05:00
1 parent 888a8692b4
commit 196f8e5123
1 file changed
+1 -2
@@ -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