From 44c874b731f9f58c2f50c3c6076371058cbe26e3 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 30 Dec 2022 19:14:36 +0100 Subject: 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() --- test/handle_events.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/handle_events.cxx') diff --git a/test/handle_events.cxx b/test/handle_events.cxx index 9db0f5378..30a17707a 100644 --- a/test/handle_events.cxx +++ b/test/handle_events.cxx @@ -29,7 +29,7 @@ // Class to handle events class app : public WINDOW_TYPE { protected: - int handle(int); + int handle(int) FL_OVERRIDE; public: // storage for the last event int eventnum, ex, ey; -- cgit v1.2.3