Fix names map for multiple includes.
This commit is contained in:
parent
039ef2d322
commit
110857a6fc
@ -1,7 +1,7 @@
|
||||
//
|
||||
// Event and other names header file for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
// Copyright 1998-2024 by Bill Spitzak and others.
|
||||
// Copyright 1998-2025 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
|
||||
@ -47,7 +47,7 @@
|
||||
}
|
||||
\endcode
|
||||
*/
|
||||
std::map<int, const char*> fl_eventnames = {
|
||||
static std::map<int, const char*> fl_eventnames = {
|
||||
{ FL_NO_EVENT, "FL_NO_EVENT" },
|
||||
{ FL_PUSH, "FL_PUSH" },
|
||||
{ FL_RELEASE, "FL_RELEASE" },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user