mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
video_core/control_flow: Use the prefix variant of operator++ for iterators
Same thing, but potentially allows a standard library implementation to pick a more efficient codepath.
This commit is contained in:
parent
6885e7e7ec
commit
e7b39f47f8
|
@ -365,7 +365,7 @@ bool TryQuery(CFGRebuildState& state) {
|
|||
const auto gather_end = labels.upper_bound(block.end);
|
||||
while (gather_start != gather_end) {
|
||||
cc.push(gather_start->second);
|
||||
gather_start++;
|
||||
++gather_start;
|
||||
}
|
||||
};
|
||||
if (state.queries.empty()) {
|
||||
|
@ -470,7 +470,7 @@ std::optional<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code,
|
|||
continue;
|
||||
}
|
||||
back = next;
|
||||
next++;
|
||||
++next;
|
||||
}
|
||||
return {result_out};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue