Fix compiler warning (C++11 standard)

Warning: override controls (override/final) only available with
  ‘-std=c++11’ or ‘-std=gnu++11’
This commit is contained in:
Albrecht Schlosser 2023-10-16 21:47:52 +02:00
parent 010b179489
commit 63dc3f2acb

View File

@ -1,7 +1,7 @@
// //
// Shortcut header file for the Fast Light Tool Kit (FLTK). // 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 // 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 // the file "COPYING" which should have been included with this file. If this
@ -84,8 +84,7 @@ public:
vars_user_data_ = user_data; vars_user_data_ = user_data;
} }
int handle(int) override; int handle(int) FL_OVERRIDE;
}; };
#endif #endif