Skip to content

Commit 9fccce4

Browse files
authored
Merge pull request diffblue#4219 from peterschrammel/fix-revert-slice
Fix revert-slice bug
2 parents 79ea945 + a6d371a commit 9fccce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-symex/slice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ void simple_slice(symex_target_equationt &equation)
266266
void revert_slice(symex_target_equationt &equation)
267267
{
268268
// set ignore to false
269-
for(auto step : equation.SSA_steps)
269+
for(auto &step : equation.SSA_steps)
270270
{
271271
step.ignore = false;
272272
}

0 commit comments

Comments
 (0)