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

fix errors

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-02-07 14:29:28 -08:00
parent 10894069b0
commit 734d48fa33
3 changed files with 4 additions and 2 deletions

View file

@ -141,7 +141,7 @@ extern "C" {
}
catch (z3_exception& ex) {
r = l_undef;
if (ex.msg() == "canceled" && mk_c(c)->m().canceled()) {
if (ex.msg() == std::string("canceled") && mk_c(c)->m().canceled()) {
to_optimize_ptr(o)->set_reason_unknown(ex.msg());
}
else {