summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-06 20:25:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-06 20:25:51 +0300
commitb98795bfc07a3bad493f0abac35f0b607447f582 (patch)
tree45424335744a256e89dac200f8d6e2fd1900963e /src/render/surfacegraphics.h
parente6f2965e420da97d989ea4650e2dfc66a0decb3a (diff)
downloadmanaplus-b98795bfc07a3bad493f0abac35f0b607447f582.tar.gz
manaplus-b98795bfc07a3bad493f0abac35f0b607447f582.tar.bz2
manaplus-b98795bfc07a3bad493f0abac35f0b607447f582.tar.xz
manaplus-b98795bfc07a3bad493f0abac35f0b607447f582.zip
Add noexcept into other renderers.
Diffstat (limited to 'src/render/surfacegraphics.h')
-rw-r--r--src/render/surfacegraphics.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/surfacegraphics.h b/src/render/surfacegraphics.h
index 5162a7874..8a9a61a3b 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
+ void setTarget(SDL_Surface *restrict const target) restrict2 noexcept
{ mTarget = target; }
- SDL_Surface *getTarget() const restrict2
+ SDL_Surface *getTarget() const restrict2 noexcept
{ return mTarget; }
void beginDraw() restrict2 override final
@@ -151,10 +151,10 @@ class SurfaceGraphics final : public Graphics
restrict2 override final
{ }
- void setBlitMode(const BlitModeT mode) restrict2
+ void setBlitMode(const BlitModeT mode) restrict2 noexcept
{ mBlitMode = mode; }
- BlitModeT getBlitMode() const restrict2 A_WARN_UNUSED
+ BlitModeT getBlitMode() const restrict2 noexcept A_WARN_UNUSED
{ return mBlitMode; }
void fillRectangle(const Rect &restrict rect A_UNUSED)