From 63dc3f2acbe0bf732b2a550ae806424b592a8364 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 16 Oct 2023 21:47:52 +0200 Subject: [PATCH] Fix compiler warning (C++11 standard) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Warning: override controls (override/final) only available with ‘-std=c++11’ or ‘-std=gnu++11’ --- fluid/custom_widgets.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fluid/custom_widgets.h b/fluid/custom_widgets.h index 36abc1414..875496b8e 100644 --- a/fluid/custom_widgets.h +++ b/fluid/custom_widgets.h @@ -1,7 +1,7 @@ // // Shortcut header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2010 by Bill Spitzak and others. +// Copyright 1998-2023 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -84,8 +84,7 @@ public: vars_user_data_ = user_data; } - int handle(int) override; + int handle(int) FL_OVERRIDE; }; #endif -