mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 23:05:46 +00:00
parent
b6bf299b8b
commit
35e8decdb1
4 changed files with 6 additions and 7 deletions
|
@ -106,8 +106,8 @@ extern "C" {
|
|||
SET_ERROR_CODE(Z3_INVALID_ARG, "expression is not a string literal");
|
||||
return "";
|
||||
}
|
||||
std::string result = str.encode();
|
||||
return mk_c(c)->mk_external_string(result);
|
||||
std::string s = str.encode();
|
||||
return mk_c(c)->mk_external_string(s);
|
||||
Z3_CATCH_RETURN("");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue