mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 15:25:46 +00:00
avoid a few str copies + symbol hiding
This commit is contained in:
parent
70ada9919e
commit
cd4b53500c
13 changed files with 22 additions and 33 deletions
|
@ -478,7 +478,7 @@ extern "C" {
|
|||
model_v2_pp(buffer, *(to_model_ref(m)), p.partial());
|
||||
result = buffer.str();
|
||||
}
|
||||
return mk_c(c)->mk_external_string(result);
|
||||
return mk_c(c)->mk_external_string(std::move(result));
|
||||
Z3_CATCH_RETURN(nullptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue