mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Modernize std::for_each
with ranges
This commit is contained in:
parent
7db13d23c9
commit
ed5eb49d47
@ -307,8 +307,7 @@ void BranchWatch::UpdateHitsSnapshot()
|
||||
|
||||
void BranchWatch::ClearSelectionInspection()
|
||||
{
|
||||
std::for_each(m_selection.begin(), m_selection.end(),
|
||||
[](Selection::value_type& value) { value.inspection = {}; });
|
||||
std::ranges::for_each(m_selection, [](Selection::value_type& value) { value.inspection = {}; });
|
||||
}
|
||||
|
||||
void BranchWatch::SetSelectedInspected(std::size_t idx, SelectionInspection inspection)
|
||||
|
Loading…
Reference in New Issue
Block a user