3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-08 23:23:23 +00:00
This commit is contained in:
Nikolaj Bjorner 2019-10-08 19:56:27 -07:00
commit 4192c81fae
3 changed files with 3 additions and 5 deletions

View file

@ -100,9 +100,7 @@ extern "C" {
solver2smt2_pp::solver2smt2_pp(ast_manager& m, char const* file): m_pp_util(m), m_out(file) {
if (!m_out) {
std::string msg;
msg = msg + "could not open " + file + " for output";
throw default_exception(msg.c_str());
throw default_exception("could not open " + std::string(file) + " for output");
}
}