diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-07-08 14:59:37 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-07-08 15:25:14 +0200 |
| commit | 3cf5a302fd2225b8d2622eb40e91262f4e7557c1 (patch) | |
| tree | 2bd4ad8207dc22a819518719a9e00a1ae492fd03 /FL/Fl_Gl_Window.H | |
| parent | 2803f70f584f3a3d88d02b122f44b90d15cc22c1 (diff) | |
Replace 'FL_OVERRIDE' with 'override' in public headers
... except FL/fl_attr.h where FL_OVERRIDE is #define'd
Diffstat (limited to 'FL/Fl_Gl_Window.H')
| -rw-r--r-- | FL/Fl_Gl_Window.H | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/FL/Fl_Gl_Window.H b/FL/Fl_Gl_Window.H index 8506359a2..65ae1b12c 100644 --- a/FL/Fl_Gl_Window.H +++ b/FL/Fl_Gl_Window.H @@ -73,17 +73,17 @@ class FL_EXPORT Fl_Gl_Window : public Fl_Window { static int gl_plugin_linkage(); protected: void draw_begin(); - void draw() FL_OVERRIDE; + void draw() override; void draw_end(); public: - void show() FL_OVERRIDE; + void show() override; /** Same as Fl_Window::show(int a, char **b) */ void show(int a, char **b) {Fl_Window::show(a,b);} - void flush() FL_OVERRIDE; - void hide() FL_OVERRIDE; - void resize(int,int,int,int) FL_OVERRIDE; - int handle(int) FL_OVERRIDE; + void flush() override; + void hide() override; + void resize(int,int,int,int) override; + int handle(int) override; /** Is turned off when FLTK creates a new context for this window or @@ -213,8 +213,8 @@ public: void make_overlay_current(); // Note: Doxygen docs in Fl_Widget.H to avoid redundancy. - Fl_Gl_Window* as_gl_window() FL_OVERRIDE { return this; } - Fl_Gl_Window const* as_gl_window() const FL_OVERRIDE { return this; } + Fl_Gl_Window* as_gl_window() override { return this; } + Fl_Gl_Window const* as_gl_window() const override { return this; } float pixels_per_unit(); /** Gives the window width in OpenGL pixels. |
