diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-04-13 20:14:36 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-04-13 20:14:36 +0200 |
| commit | 7b2c770ef7385276bf4884ffe308a6c79a8046ef (patch) | |
| tree | 8807828cb2a1f6fdeee5ac86032918b5055c146f /FL/Fl_Tree_Item_Array.H | |
| parent | 9d380f24bd4b13731c702047a2f212a287c993db (diff) | |
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.
Diffstat (limited to 'FL/Fl_Tree_Item_Array.H')
| -rw-r--r-- | FL/Fl_Tree_Item_Array.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Tree_Item_Array.H b/FL/Fl_Tree_Item_Array.H index dc4da5ff3..78e71bb5b 100644 --- a/FL/Fl_Tree_Item_Array.H +++ b/FL/Fl_Tree_Item_Array.H @@ -48,7 +48,7 @@ class FL_EXPORT Fl_Tree_Item_Array { int _size; // #items *allocated* for array int _chunksize; // #items to enlarge mem allocation enum { - MANAGE_ITEM = 1, ///> manage the Fl_Tree_Item's internals (internal use only) + MANAGE_ITEM = 1 ///> manage the Fl_Tree_Item's internals (internal use only) }; char _flags; // flags to control behavior void enlarge(int count); |
