3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-20 23:56:37 +00:00

Wstring-conversion

static_cast<bool>("string lit") evaluates to true. The assert is
supposed to always trigger, thus assert(false && "string lit").
This commit is contained in:
Daniel J. Hofmann 2015-04-03 19:53:13 +02:00
parent 42e0132639
commit 2252836cf8

View file

@ -272,7 +272,7 @@ public:
}
break;
default:
assert("unknown built-in op");
assert(false && "unknown built-in op");
}
}
else if(foci->get_int(i,nval)){