Make Fl_Image_Reader::name() 'const' (#271)

Thanks to @wcout for finding this.
This commit is contained in:
Albrecht Schlosser 2021-09-28 16:07:49 +02:00
parent 32e02a6e8d
commit 66c0bf4811

View File

@ -80,7 +80,7 @@ public:
}
// return the name or filename for this reader
const char *name() { return pName; }
const char *name() const { return pName; }
// skip a given number of bytes
void skip(unsigned int n) { seek(tell() + n); }