summaryrefslogtreecommitdiff
path: root/src/render/imagegraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-30 21:18:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-30 21:18:24 +0300
commit9ff808fb20962884d56147d46c8e4de915a0735d (patch)
treeb09025e75c2e57a48e5be971953edbc14b466846 /src/render/imagegraphics.h
parentaaa274245a584c633dcfdb5444bbc1dc21c0c28f (diff)
downloadplus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.gz
plus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.bz2
plus-9ff808fb20962884d56147d46c8e4de915a0735d.tar.xz
plus-9ff808fb20962884d56147d46c8e4de915a0735d.zip
Disable noexcept for clang and old gcc versions.
Diffstat (limited to 'src/render/imagegraphics.h')
-rw-r--r--src/render/imagegraphics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/imagegraphics.h b/src/render/imagegraphics.h
index 8d4a72368..e1bdad741 100644
--- a/src/render/imagegraphics.h
+++ b/src/render/imagegraphics.h
@@ -45,10 +45,10 @@ class ImegeGraphics final : public Graphics
~ImegeGraphics();
- void setTarget(Image *const target) restrict2 noexcept
+ void setTarget(Image *const target) restrict2 noexcept2
{ mTarget = target; }
- Image *getTarget() const restrict2 noexcept
+ Image *getTarget() const restrict2 noexcept2
{ return mTarget; }
void beginDraw() restrict2 override final