summaryrefslogtreecommitdiff
path: root/src/resources/sdl2softwareimagehelper.h
diff options
context:
space:
mode:
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)