Skip to content

Commit 1eaa260

Browse files
committed
Make goto_cc_modet::main non-virtual
Making this member function non-virtual makes it easier to follow the control flow because it is clear it not overridden in any sub class. This is should be easy enough to add back should a need to override this arise.
1 parent f0b4f89 commit 1eaa260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-cc/goto_cc_mode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Date: June 2006
2121
class goto_cc_modet:public messaget
2222
{
2323
public:
24-
virtual int main(int argc, const char **argv);
24+
int main(int argc, const char **argv);
2525
virtual int doit()=0;
2626
virtual void help_mode()=0;
2727
void help();

0 commit comments

Comments
 (0)