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/sdl2imagehelper.h | |
parent | 7be232f47b28ce1759e6d911014acc4f35202a31 (diff) | |
download | plus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.gz plus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.bz2 plus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.tar.xz plus-47bcf6b7096d8a210d3a92d8b36913bc8163c9b4.zip |
Another fix for old compilers.
Diffstat (limited to 'src/resources/sdl2imagehelper.h')
-rw-r--r-- | src/resources/sdl2imagehelper.h | 4 |
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; } |