3
0
Fork 0
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:
Nuno Lopes 2019-10-08 22:29:17 +01:00
parent 01f085ab53
commit 4643fdaa4e
3 changed files with 3 additions and 5 deletions

View file

@ -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());
}
}