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_Text_Display.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL/Fl_Text_Display.H') diff --git a/FL/Fl_Text_Display.H b/FL/Fl_Text_Display.H index 6e687a60b..881671d40 100644 --- a/FL/Fl_Text_Display.H +++ b/FL/Fl_Text_Display.H @@ -161,7 +161,7 @@ public: ATTR_GRAMMAR = 0x0008, ///< grammar suggestion (blue dotted underline) ATTR_SPELLING = 0x000C, ///< spelling suggestion (red dotted underline) ATTR_STRIKE_THROUGH = 0x0010, ///< line through the middle of the text - ATTR_LINES_MASK = 0x001C, ///< the mask for all underline and strike through types + ATTR_LINES_MASK = 0x001C ///< the mask for all underline and strike through types }; Fl_Text_Display(int X, int Y, int W, int H, const char *l = 0); -- cgit v1.2.3