summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 20:45:36 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 20:45:36 +0300
commita908eb0431a25e3228277991d94d6a4add8f5010 (patch)
tree5b52d0e12acc8f813c396290c2bb0e2d8b016d4e /src/resources
parent8859a812ccf4b0758734192283c24b38a12b2eb9 (diff)
downloadplus-a908eb0431a25e3228277991d94d6a4add8f5010.tar.gz
plus-a908eb0431a25e3228277991d94d6a4add8f5010.tar.bz2
plus-a908eb0431a25e3228277991d94d6a4add8f5010.tar.xz
plus-a908eb0431a25e3228277991d94d6a4add8f5010.zip
Fix too long lines.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/imagehelper.h3
-rw-r--r--src/resources/iteminfo.h3
-rw-r--r--src/resources/sdl2softwareimagehelper.h3
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)