diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/imagehelper.h | 3 | ||||
-rw-r--r-- | src/resources/iteminfo.h | 3 | ||||
-rw-r--r-- | src/resources/sdl2softwareimagehelper.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/resources/imagehelper.h b/src/resources/imagehelper.h index 4ade89199..90a28330e 100644 --- a/src/resources/imagehelper.h +++ b/src/resources/imagehelper.h @@ -96,7 +96,8 @@ class ImageHelper notfinal static SDL_Surface *loadPng(SDL_RWops *const rw); - constexpr static void setOpenGlMode(const RenderType useOpenGL) noexcept2 + constexpr static void setOpenGlMode(const RenderType useOpenGL) + noexcept2 { mUseOpenGL = useOpenGL; } virtual RenderType useOpenGL() const noexcept2 A_WARN_UNUSED diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 409978ebc..7bcc8d673 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -159,7 +159,8 @@ class ItemInfo final void setMissileParticleFile(const std::string &s) noexcept2 { mMissileParticleFile = s; } - const std::string &getMissileParticleFile() const noexcept2 A_WARN_UNUSED + const std::string &getMissileParticleFile() const noexcept2 + A_WARN_UNUSED { return mMissileParticleFile; } void setHitEffectId(const int s) noexcept2 diff --git a/src/resources/sdl2softwareimagehelper.h b/src/resources/sdl2softwareimagehelper.h index 38bd0f9d0..6db14868f 100644 --- a/src/resources/sdl2softwareimagehelper.h +++ b/src/resources/sdl2softwareimagehelper.h @@ -74,7 +74,8 @@ class SDL2SoftwareImageHelper final : public ImageHelper SDL_Surface *restrict const dst, SDL_Rect *restrict const dstrect); - constexpr2 static void setFormat(SDL_PixelFormat *const format) noexcept2 + constexpr2 static void setFormat(SDL_PixelFormat *const format) + noexcept2 { mFormat = format; if (mFormat) |