mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 00:48:45 +00:00
remove a few str copies when throwing exceptions
This commit is contained in:
parent
01f085ab53
commit
4643fdaa4e
3 changed files with 3 additions and 5 deletions
|
@ -79,7 +79,7 @@ struct z3_replayer::imp {
|
|||
strm << "expecting " << kind2string(k) << " at position "
|
||||
<< pos << " but got " << kind2string(m_args[pos].m_kind);
|
||||
TRACE("z3_replayer", tout << strm.str() << "\n";);
|
||||
throw z3_replayer_exception(strm.str().c_str());
|
||||
throw z3_replayer_exception(strm.str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue