diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-12 21:19:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-12 21:19:11 +0300 |
commit | 47bcf6b7096d8a210d3a92d8b36913bc8163c9b4 (patch) | |
tree | 8e85a0297bbbf75152e322b53910805902fa6815 /src/resources/imagehelper.h | |
parent | 7be232f47b28ce1759e6d911014acc4f35202a31 (diff) | |
download | manaverse-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.gz manaverse-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.bz2 manaverse-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.xz manaverse-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.zip |
Another fix for old compilers.
Diffstat (limited to 'src/resources/imagehelper.h')
-rw-r--r-- | src/resources/imagehelper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h index 90a28330e..4720de07b 100644 --- a/src/resources/imagehelper.h +++ b/src/resources/imagehelper.h @@ -91,12 +91,12 @@ class ImageHelper notfinal static void dumpSurfaceFormat(const SDL_Surface *const image); - constexpr static void setEnableAlpha(const bool n) noexcept2 + constexpr2 static void setEnableAlpha(const bool n) noexcept2 { mEnableAlpha = n; } static SDL_Surface *loadPng(SDL_RWops *const rw); - constexpr static void setOpenGlMode(const RenderType useOpenGL) + constexpr2 static void setOpenGlMode(const RenderType useOpenGL) noexcept2 { mUseOpenGL = useOpenGL; } |