3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

fix build

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-10-08 12:19:54 -07:00
parent 6ddce9d5be
commit be33bb7b48
4 changed files with 10 additions and 2 deletions

View file

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