Commit 07684a87 authored by Paul's avatar Paul
Browse files

Fix tidy error

parent e27adf86
...@@ -20,7 +20,7 @@ void cse_range(program& p, Range&& r) ...@@ -20,7 +20,7 @@ void cse_range(program& p, Range&& r)
continue; continue;
// Find instruction with the same name // Find instruction with the same name
auto found_instructions = range(instructions.equal_range(ins->name())); auto found_instructions = range(instructions.equal_range(ins->name()));
for(auto pp : found_instructions) for(const auto& pp : found_instructions)
{ {
auto eq = pp.second; auto eq = pp.second;
if(*eq != *ins) if(*eq != *ins)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment