From 566f3634f9d99c87e66426395df7a2dbbbbc4d4f Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 3 Nov 2023 15:34:23 +0100 Subject: Fix compiler warning when fullscreen demo is built w/o OpenGL Warning: -Wsuggest-override --- test/fullscreen.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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); -- cgit v1.2.3