mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Modernize std::for_each
with ranges
This commit is contained in:
parent
7db13d23c9
commit
ed5eb49d47
1 changed files with 1 additions and 2 deletions
|
@ -307,8 +307,7 @@ void BranchWatch::UpdateHitsSnapshot()
|
||||||
|
|
||||||
void BranchWatch::ClearSelectionInspection()
|
void BranchWatch::ClearSelectionInspection()
|
||||||
{
|
{
|
||||||
std::for_each(m_selection.begin(), m_selection.end(),
|
std::ranges::for_each(m_selection, [](Selection::value_type& value) { value.inspection = {}; });
|
||||||
[](Selection::value_type& value) { value.inspection = {}; });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void BranchWatch::SetSelectedInspected(std::size_t idx, SelectionInspection inspection)
|
void BranchWatch::SetSelectedInspected(std::size_t idx, SelectionInspection inspection)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue