3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 11:55:51 +00:00

Simplify boolean code.

Now that the C API is using bool, this can be simplified.
This commit is contained in:
Bruce Mitchener 2018-12-07 22:06:51 +07:00
parent a9946685ca
commit 0231bc44bc
4 changed files with 24 additions and 24 deletions

View file

@ -274,7 +274,7 @@ extern "C" {
RESET_ERROR_CODE();
reset_rcf_cancel(c);
std::ostringstream buffer;
rcfm(c).display(buffer, to_rcnumeral(a), compact != 0, html != 0);
rcfm(c).display(buffer, to_rcnumeral(a), compact, html);
return mk_c(c)->mk_external_string(buffer.str());
Z3_CATCH_RETURN("");
}