summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-11-03 15:34:23 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-11-03 15:34:23 +0100
commit566f3634f9d99c87e66426395df7a2dbbbbc4d4f (patch)
treee9404fe4d267bbf7654571ed871b0aed051a20bb /test
parenteb3afb20335ba564a3d7b74bf68558696eb8332c (diff)
Fix compiler warning when fullscreen demo is built w/o OpenGL
Warning: -Wsuggest-override
Diffstat (limited to 'test')
-rw-r--r--test/fullscreen.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fullscreen.cxx b/test/fullscreen.cxx
index 1d68df7f0..23de9e76d 100644
--- a/test/fullscreen.cxx
+++ b/test/fullscreen.cxx
@@ -99,7 +99,7 @@ void shape_window::draw() {
#include <FL/fl_draw.H>
class shape_window : public Fl_Window {
- void draw();
+ void draw() FL_OVERRIDE;
public:
int sides;
shape_window(int x,int y,int w,int h,const char *l=0);