From 47bcf6b7096d8a210d3a92d8b36913bc8163c9b4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 12 Dec 2016 21:19:11 +0300 Subject: Another fix for old compilers. --- src/resources/imagehelper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/imagehelper.h') diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h index 90a28330e..4720de07b 100644 --- a/src/resources/imagehelper.h +++ b/src/resources/imagehelper.h @@ -91,12 +91,12 @@ class ImageHelper notfinal static void dumpSurfaceFormat(const SDL_Surface *const image); - constexpr static void setEnableAlpha(const bool n) noexcept2 + constexpr2 static void setEnableAlpha(const bool n) noexcept2 { mEnableAlpha = n; } static SDL_Surface *loadPng(SDL_RWops *const rw); - constexpr static void setOpenGlMode(const RenderType useOpenGL) + constexpr2 static void setOpenGlMode(const RenderType useOpenGL) noexcept2 { mUseOpenGL = useOpenGL; } -- cgit v1.2.3-60-g2f50