From f5c40ef7c84f9d5914550b5781bad01ba63676dd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Dec 2016 22:12:18 +0300 Subject: Fix compilation errors with SDL2. --- src/resources/sdl2softwareimagehelper.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/resources/sdl2softwareimagehelper.h') 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) -- cgit v1.2.3-70-g09d2