mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +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
|
@ -635,7 +635,7 @@ private:
|
|||
t.join();
|
||||
m_manager.limit().reset_cancel();
|
||||
if (m_exn_code == -1)
|
||||
throw default_exception(m_exn_msg);
|
||||
throw default_exception(std::move(m_exn_msg));
|
||||
if (m_exn_code != 0)
|
||||
throw z3_error(m_exn_code);
|
||||
if (!m_models.empty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue