Skip to content

Commit 731daaa

Browse files
author
martin
committed
Add override to register_languages in the Java tools
1 parent 251dabb commit 731daaa

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

jbmc/src/janalyzer/janalyzer_parse_options.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ class optionst;
154154
class janalyzer_parse_optionst : public parse_options_baset
155155
{
156156
public:
157-
virtual int doit() override;
158-
virtual void help() override;
157+
int doit() override;
158+
void help() override;
159159

160160
janalyzer_parse_optionst(int argc, const char **argv);
161161

@@ -177,7 +177,7 @@ class janalyzer_parse_optionst : public parse_options_baset
177177
protected:
178178
std::unique_ptr<class_hierarchyt> class_hierarchy;
179179

180-
void register_languages();
180+
void register_languages() override;
181181

182182
void get_command_line_options(optionst &options);
183183

jbmc/src/jdiff/jdiff_parse_options.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ class goto_modelt;
4242
class jdiff_parse_optionst : public parse_options_baset
4343
{
4444
public:
45-
virtual int doit();
46-
virtual void help();
45+
int doit() override;
46+
void help() override;
4747

4848
jdiff_parse_optionst(int argc, const char **argv);
4949

5050
protected:
51-
void register_languages();
51+
void register_languages() override;
5252

5353
void get_command_line_options(optionst &options);
5454

0 commit comments

Comments
 (0)