forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jbmc, janalyzer: Remove unnecessary dynamic_cast
`lazy_goto_modelt::process_whole_model_and_freeze` returns a unique pointer to `goto_modelt`, which these call sites unnecessarily generalised to `abstract_goto_modelt` (just to then `dynamic_cast` it to `goto_modelt`). Fix the local pointer types and remove the now no longer necessary cast.
- Loading branch information
1 parent
3877e0f
commit 3fef02a
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters