Make Fl_Image_Reader::name() 'const' (#271)
Thanks to @wcout for finding this.
This commit is contained in:
parent
32e02a6e8d
commit
66c0bf4811
@ -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); }
|
||||
|
Loading…
Reference in New Issue
Block a user