diff options
| author | Greg Ercolano <erco@seriss.com> | 2015-05-24 17:19:57 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2015-05-24 17:19:57 +0000 |
| commit | 9632e422d3a1dccd7428df0017ff4b84e1ee521b (patch) | |
| tree | 37603221f835e32b3f15d14945f760c19c5ab3ef | |
| parent | 0539009c671a2ffc2478a50a11f48769c5c54b27 (diff) | |
Fixes these errors on Linux:
../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
| -rw-r--r-- | FL/Fl_Image.H | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Image.H b/FL/Fl_Image.H index a4d6d737d..ea408ebcd 100644 --- a/FL/Fl_Image.H +++ b/FL/Fl_Image.H @@ -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_; |
