Skip to content

Commit

Permalink
Fixes these errors on Linux:
Browse files Browse the repository at this point in the history
../FL/Fl_Image.H:58: error: ISO C++ forbids initialization of member 'ERR_NO_IMAGE'
../FL/Fl_Image.H:58: error: making 'ERR_NO_IMAGE' static



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10733 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
erco77 committed May 24, 2015
1 parent 0539009 commit 9632e42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions FL/Fl_Image.H
Expand Up @@ -55,9 +55,9 @@ enum Fl_RGB_Scaling {
class FL_EXPORT Fl_Image {

public:
const int ERR_NO_IMAGE = -1;
const int ERR_FILE_ACCESS = -2;
const int ERR_FORMAT = -3;
static const int ERR_NO_IMAGE = -1;
static const int ERR_FILE_ACCESS = -2;
static const int ERR_FORMAT = -3;

private:
int w_, h_, d_, ld_, count_;
Expand Down

0 comments on commit 9632e42

Please sign in to comment.