mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 23:05:46 +00:00
Merge branch 'master' of https://github.com/z3prover/z3
This commit is contained in:
commit
376076ea9b
22 changed files with 56 additions and 102 deletions
|
@ -120,8 +120,7 @@ extern "C" {
|
|||
SET_ERROR_CODE(Z3_INVALID_ARG, "expression is not a string literal");
|
||||
return "";
|
||||
}
|
||||
std::string s = str.encode();
|
||||
return mk_c(c)->mk_external_string(s);
|
||||
return mk_c(c)->mk_external_string(str.encode());
|
||||
Z3_CATCH_RETURN("");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue