diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 21:18:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 21:18:24 +0300 |
commit | 9ff808fb20962884d56147d46c8e4de915a0735d (patch) | |
tree | b09025e75c2e57a48e5be971953edbc14b466846 /src/render/surfacegraphics.h | |
parent | aaa274245a584c633dcfdb5444bbc1dc21c0c28f (diff) | |
download | manaplus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.gz manaplus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.bz2 manaplus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.xz manaplus-9ff808fb20962884d56147d46c8e4de915a0735d.zip |
Disable noexcept for clang and old gcc versions.
Diffstat (limited to 'src/render/surfacegraphics.h')
-rw-r--r-- | src/render/surfacegraphics.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h index 0706dfc65..f8faa327b 100644 --- a/src/render/surfacegraphics.h +++ b/src/render/surfacegraphics.h @@ -47,10 +47,10 @@ class SurfaceGraphics final : public Graphics ~SurfaceGraphics(); - void setTarget(SDL_Surface *restrict const target) restrict2 noexcept + void setTarget(SDL_Surface *restrict const target) restrict2 noexcept2 { mTarget = target; } - SDL_Surface *getTarget() const restrict2 noexcept + SDL_Surface *getTarget() const restrict2 noexcept2 { return mTarget; } void beginDraw() restrict2 override final @@ -152,10 +152,10 @@ class SurfaceGraphics final : public Graphics restrict2 override final A_NONNULL(2) { } - void setBlitMode(const BlitModeT mode) restrict2 noexcept + void setBlitMode(const BlitModeT mode) restrict2 noexcept2 { mBlitMode = mode; } - BlitModeT getBlitMode() const restrict2 noexcept A_WARN_UNUSED + BlitModeT getBlitMode() const restrict2 noexcept2 A_WARN_UNUSED { return mBlitMode; } void fillRectangle(const Rect &restrict rect A_UNUSED) |