From 7b2c770ef7385276bf4884ffe308a6c79a8046ef Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 13 Apr 2023 20:14:36 +0200 Subject: Fix trailing comma in enums of public headers Compiler warning: comma at end of enumerator list [-Wpedantic] Note 1: I decided to fix these warnings although trailing commas in enums are allowed at least since C++11. Note 2: I fixed only public headers because these headers may be compiled in user code. To do: check internal headers. --- FL/Fl_Preferences.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FL/Fl_Preferences.H') diff --git a/FL/Fl_Preferences.H b/FL/Fl_Preferences.H index 7112ea42b..a74be23eb 100644 --- a/FL/Fl_Preferences.H +++ b/FL/Fl_Preferences.H @@ -1,7 +1,7 @@ // // Preferences implementation for the Fast Light Tool Kit (FLTK). // -// Copyright 2002-2022 by Matthias Melcher. +// Copyright 2002-2023 by Matthias Melcher. // // 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 @@ -137,7 +137,7 @@ public: CORE_SYSTEM_L = CORE | SYSTEM_L, ///< Same as CORE | SYSTEM | C_LOCALE CORE_USER_L = CORE | USER_L, ///< Same as CORE | USER | C_LOCALE CORE_SYSTEM = CORE | SYSTEM, ///< Deprecated, same as CORE | SYSTEM. Use CORE_SYSTEM_L instead. - CORE_USER = CORE | USER, ///< Deprecated, same as CORE | USER. Use CORE_USER_L instead. + CORE_USER = CORE | USER ///< Deprecated, same as CORE | USER. Use CORE_USER_L instead. }; /** -- cgit v1.2.3