Use FL_OVERRIDE for all overridden virtual methods (#611)

FL_OVERRIDE is defined as `override` for C++11 and higher
FL_OVERRIDE is defined as `override` for VisualC 2015 and newer
Don't interfere with Fl_Widget::override()
This commit is contained in:
Matthias Melcher
2022-12-30 19:14:36 +01:00
committed by GitHub
parent f58a93a159
commit 44c874b731
197 changed files with 2236 additions and 2176 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ public:
return false;
}
private:
void draw();
int handle(int event);
void draw() FL_OVERRIDE;
int handle(int event) FL_OVERRIDE;
// Generate "random" values for the line display
double random_val(int v) const
{