Skip to content
Snippets Groups Projects
Commit e7b39f47 authored by Lioncash's avatar Lioncash
Browse files

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.
parent 6885e7e7
No related branches found
No related tags found
No related merge requests found
......@@ -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};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment