mirror of
https://github.com/Z3Prover/z3
synced 2025-05-04 06:15:46 +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
|
@ -369,7 +369,7 @@ void stream_ref::set(char const * name) {
|
|||
std::string msg = "failed to set output stream '";
|
||||
msg += name;
|
||||
msg += "'";
|
||||
throw cmd_exception(msg);
|
||||
throw cmd_exception(std::move(msg));
|
||||
}
|
||||
SASSERT(m_stream);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue