summaryrefslogtreecommitdiff
path: root/src/resources/imagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 21:19:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 21:19:11 +0300
commit47bcf6b7096d8a210d3a92d8b36913bc8163c9b4 (patch)
tree8e85a0297bbbf75152e322b53910805902fa6815 /src/resources/imagehelper.h
parent7be232f47b28ce1759e6d911014acc4f35202a31 (diff)
downloadmanaplus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.gz
manaplus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.bz2
manaplus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.xz
manaplus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.zip
Another fix for old compilers.
Diffstat (limited to 'src/resources/imagehelper.h')
-rw-r--r--src/resources/imagehelper.h4
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; }