Skip to content

Commit 584db18

Browse files
Add missing const
1 parent 3598f68 commit 584db18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/goto-symex/symex_builtin_functions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ void goto_symext::symex_allocate(
177177
}
178178
else
179179
{
180-
exprt nondet = build_symex_nondet(object_type);
181-
code_assignt assignment(value_symbol.symbol_expr(), nondet);
180+
const exprt nondet = build_symex_nondet(object_type);
181+
const code_assignt assignment(value_symbol.symbol_expr(), nondet);
182182
symex_assign(state, assignment);
183183
}
184184

0 commit comments

Comments
 (0)