summaryrefslogtreecommitdiff
path: root/src/resources/sdl2imagehelper.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/sdl2imagehelper.h
parent7be232f47b28ce1759e6d911014acc4f35202a31 (diff)
downloadmv-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.gz
mv-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.bz2
mv-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.xz
mv-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.zip
Another fix for old compilers.
Diffstat (limited to 'src/resources/sdl2imagehelper.h')
-rw-r--r--src/resources/sdl2imagehelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/sdl2imagehelper.h b/src/resources/sdl2imagehelper.h
index aa40aa065..ef5bfad79 100644
--- a/src/resources/sdl2imagehelper.h
+++ b/src/resources/sdl2imagehelper.h
@@ -67,7 +67,7 @@ class SDLImageHelper final : public ImageHelper
SDL_Surface *const surface)
const override final;
- constexpr static void SDLSetEnableAlphaCache(const bool n) noexcept2
+ constexpr2 static void SDLSetEnableAlphaCache(const bool n) noexcept2
{ mEnableAlphaCache = n; }
static bool SDLGetEnableAlphaCache() noexcept2 A_WARN_UNUSED
@@ -81,7 +81,7 @@ class SDLImageHelper final : public ImageHelper
SDL_Surface *restrict const dst,
SDL_Rect *restrict const dstrect);
- constexpr static void setRenderer(SDL_Renderer *const renderer)
+ constexpr2 static void setRenderer(SDL_Renderer *const renderer)
noexcept2
{ mRenderer = renderer; }