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:
parent
f0c788581a
commit
c350ddf990
8 changed files with 18 additions and 28 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue