From 9d380f24bd4b13731c702047a2f212a287c993db Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 13 Apr 2023 19:56:09 +0200 Subject: Fix misplaced 'const' [-Wignored-qualifiers] warning: type qualifiers ignored on function return type --- FL/Fl_ICO_Image.H | 4 ++-- 1 file 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_; -- cgit v1.2.3