Skip to content

Commit b30e60e

Browse files
committed
Make goto_cc_modet::help 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 c82daba commit b30e60e

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
@@ -24,7 +24,7 @@ class goto_cc_modet:public messaget
2424
virtual int main(int argc, const char **argv);
2525
virtual int doit()=0;
2626
virtual void help_mode()=0;
27-
virtual void help();
27+
void help();
2828
virtual void usage_error();
2929

3030
goto_cc_modet(

0 commit comments

Comments
 (0)