Skip to content

Commit 37e5b80

Browse files
author
Owen Jones
committed
Add override in a few places
1 parent 523f60e commit 37e5b80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pointer-analysis/value_set_analysis.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ class value_set_analysis_baset:
3939
}
4040

4141
// overloading
42-
void initialize(const goto_programt &goto_program)
42+
void initialize(const goto_programt &goto_program) override
4343
{
4444
baset::initialize(goto_program);
4545
}
46-
void initialize(const goto_functionst &goto_functions)
46+
void initialize(const goto_functionst &goto_functions) override
4747
{
4848
baset::initialize(goto_functions);
4949
}
@@ -105,7 +105,7 @@ class value_set_analysis_baset:
105105
virtual void get_values(
106106
locationt l,
107107
const exprt &expr,
108-
value_setst::valuest &dest)
108+
value_setst::valuest &dest) override
109109
{
110110
((const value_sett&)(*this)[l].value_set).get_value_set(
111111
expr,

0 commit comments

Comments
 (0)