mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
remove some allocs from exceptions
This commit is contained in:
parent
8791f61aa7
commit
cef17c22a1
19 changed files with 36 additions and 40 deletions
|
@ -92,7 +92,7 @@ struct goal2sat::imp {
|
|||
|
||||
void throw_op_not_handled(std::string const& s) {
|
||||
std::string s0 = "operator " + s + " not supported, apply simplifier before invoking translator";
|
||||
throw tactic_exception(s0.c_str());
|
||||
throw tactic_exception(std::move(s0));
|
||||
}
|
||||
|
||||
void mk_clause(sat::literal l) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue