We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a02d3f commit 8d0ed1fCopy full SHA for 8d0ed1f
src/solvers/smt2_incremental/smt_response_validation.cpp
@@ -230,7 +230,8 @@ static optionalt<smt_termt> valid_smt_hex(const std::string &text)
230
const std::string hex{text.begin() + 2, text.end()};
231
// SMT-LIB 2 allows hex characters to be upper of lower case, but they should
232
// be upper case for mp_integer.
233
- const mp_integer value = string2integer(make_range(hex).map(::toupper), 16);
+ const mp_integer value =
234
+ string2integer(make_range(hex).map<std::function<int(int)>>(toupper), 16);
235
const std::size_t width = (text.size() - 2) * 4;
236
return {smt_bit_vector_constant_termt{value, width}};
237
}
0 commit comments