3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-09 10:30:59 +00:00

remove a few useless dynamic casts

This commit is contained in:
Nuno Lopes 2025-09-13 21:06:55 +01:00
parent f0c788581a
commit c350ddf990
8 changed files with 18 additions and 28 deletions

View file

@ -72,7 +72,7 @@ namespace euf {
model_ref mdl;
auto s = get_solver(m.mk_family_id("sls"), nullptr);
if (s)
mdl = dynamic_cast<sls::solver*>(s)->get_model();
mdl = static_cast<sls::solver*>(s)->get_model();
return mdl;
}