From 3cf5a302fd2225b8d2622eb40e91262f4e7557c1 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 8 Jul 2025 14:59:37 +0200 Subject: Replace 'FL_OVERRIDE' with 'override' in public headers ... except FL/fl_attr.h where FL_OVERRIDE is #define'd --- FL/Fl_Group.H | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'FL/Fl_Group.H') diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H index 381ebb00b..fe17684b9 100644 --- a/FL/Fl_Group.H +++ b/FL/Fl_Group.H @@ -72,7 +72,7 @@ class FL_EXPORT Fl_Group : public Fl_Widget { Fl_Group& operator=(const Fl_Group&); protected: - void draw() FL_OVERRIDE; + void draw() override; void draw_child(Fl_Widget& widget) const; void draw_children(); void draw_outside_label(const Fl_Widget& widget) const ; @@ -85,7 +85,7 @@ protected: public: - int handle(int) FL_OVERRIDE; + int handle(int) override; void begin(); void end(); static Fl_Group *current(); @@ -119,7 +119,7 @@ public: Fl_Widget* const* array() const; - void resize(int,int,int,int) FL_OVERRIDE; + void resize(int,int,int,int) override; /** Creates a new Fl_Group widget using the given position, size, and label string. The default boxtype is FL_NO_BOX. @@ -239,8 +239,8 @@ public: unsigned int clip_children() { return (flags() & CLIP_CHILDREN) != 0; } // Note: Doxygen docs in Fl_Widget.H to avoid redundancy. - Fl_Group* as_group() FL_OVERRIDE { return this; } - Fl_Group const* as_group() const FL_OVERRIDE { return this; } + Fl_Group* as_group() override { return this; } + Fl_Group const* as_group() const override { return this; } // back compatibility functions: -- cgit v1.2.3