Skip to content

Commit bbc9a80

Browse files
committed
Avoid spurious warning about hiding base class functions
cmdlinet::parse has a different signature and we don't override it here. As an alternative option, we could rename functions.
1 parent dd05dcf commit bbc9a80

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/goto-cc/ms_cl_cmdline.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class ms_cl_cmdlinet:public goto_cc_cmdlinet
3232
void process_cl_option(const std::string &s);
3333
void process_response_file(const std::string &file);
3434
void process_response_file_line(const std::string &line);
35+
using cmdlinet::parse;
3536
bool parse(const std::vector<std::string> &);
3637
};
3738

src/goto-cc/ms_link_cmdline.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class ms_link_cmdlinet : public goto_cc_cmdlinet
3030
void process_link_option(const std::string &s);
3131
void process_response_file(const std::string &file);
3232
void process_response_file_line(const std::string &line);
33+
using cmdlinet::parse;
3334
bool parse(const std::vector<std::string> &);
3435
};
3536

0 commit comments

Comments
 (0)