summaryrefslogtreecommitdiff
path: root/src/resources/sdl2softwareimagehelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 22:12:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 22:12:18 +0300
commitf5c40ef7c84f9d5914550b5781bad01ba63676dd (patch)
treefbfd5097d334a961e5a580d4e53409e539108221 /src/resources/sdl2softwareimagehelper.h
parent47bcf6b7096d8a210d3a92d8b36913bc8163c9b4 (diff)
downloadmv-f5c40ef7c84f9d5914550b5781bad01ba63676dd.tar.gz
mv-f5c40ef7c84f9d5914550b5781bad01ba63676dd.tar.bz2
mv-f5c40ef7c84f9d5914550b5781bad01ba63676dd.tar.xz
mv-f5c40ef7c84f9d5914550b5781bad01ba63676dd.zip
Fix compilation errors with SDL2.s20161213
Diffstat (limited to 'src/resources/sdl2softwareimagehelper.h')
-rw-r--r--src/resources/sdl2softwareimagehelper.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resources/sdl2softwareimagehelper.h b/src/resources/sdl2softwareimagehelper.h
index 789bfea85..47a0f7ed5 100644
--- a/src/resources/sdl2softwareimagehelper.h
+++ b/src/resources/sdl2softwareimagehelper.h
@@ -74,8 +74,7 @@ class SDL2SoftwareImageHelper final : public ImageHelper
SDL_Surface *restrict const dst,
SDL_Rect *restrict const dstrect);
- constexpr2 static void setFormat(SDL_PixelFormat *const format)
- noexcept2
+ static void setFormat(SDL_PixelFormat *const format) noexcept2
{
mFormat = format;
if (mFormat)