Skip to content

Commit d6565ec

Browse files
authored
Merge pull request diffblue#2537 from tautschnig/vs-non-deprecated
Use non-deprecated to_integer(constant_expr)
2 parents 8187bdd + 2aa6a2f commit d6565ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/simplify_expr.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ bool simplify_exprt::get_values(
12321232
if(expr.is_constant())
12331233
{
12341234
mp_integer int_value;
1235-
if(to_integer(expr, int_value))
1235+
if(to_integer(to_constant_expr(expr), int_value))
12361236
return true;
12371237

12381238
value_list.insert(int_value);

0 commit comments

Comments
 (0)