summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-04-13 19:56:09 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-04-13 19:58:26 +0200
commit9d380f24bd4b13731c702047a2f212a287c993db (patch)
treee4f3fe908a2a024e3a28bd3561df9fdfc9d8783f
parentc9ea7380d26e0fd626e667c19f20fe35f96bc49c (diff)
Fix misplaced 'const' [-Wignored-qualifiers]
warning: type qualifiers ignored on function return type
-rw-r--r--FL/Fl_ICO_Image.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_ICO_Image.H b/FL/Fl_ICO_Image.H
index a6e9faaaf..c77cb25e9 100644
--- a/FL/Fl_ICO_Image.H
+++ b/FL/Fl_ICO_Image.H
@@ -1,7 +1,7 @@
//
// ICO image header file for the Fast Light Tool Kit (FLTK).
//
-// Copyright 2022 by Bill Spitzak and others.
+// Copyright 2022-2023 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
@@ -46,7 +46,7 @@ public:
int idcount() const { return idcount_; }
/** Returns the array of idcount() loaded IconDirEntry structures. */
- IconDirEntry * const icondirentry() const { return icondirentry_; }
+ const IconDirEntry * icondirentry() const { return icondirentry_; }
private:
int idcount_;