3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-08 12:11:23 +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; break;
default: default:
assert("unknown built-in op"); assert(false && "unknown built-in op");
} }
} }
else if(foci->get_int(i,nval)){ else if(foci->get_int(i,nval)){