Skip to content

Commit 1883da9

Browse files
committed
Do not shadow "value"
Rename the mp_integer-typed variant to "int_value."
1 parent 1d7c562 commit 1883da9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/solvers/smt2/smt2_format.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ std::ostream &smt2_format_rec(std::ostream &out, const exprt &expr)
5454
{
5555
const std::size_t width = to_unsignedbv_type(expr_type).get_width();
5656

57-
const auto value = numeric_cast_v<mp_integer>(expr);
57+
const auto int_value = numeric_cast_v<mp_integer>(expr);
5858

59-
out << "(_ bv" << value << " " << width << ")";
59+
out << "(_ bv" << int_value << " " << width << ")";
6060
}
6161
else if(expr_type.id() == ID_bool)
6262
{

0 commit comments

Comments
 (0)