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/renderers.cpp | |
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/renderers.cpp')
-rw-r--r-- | src/render/renderers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/renderers.cpp b/src/render/renderers.cpp index 6d385d294..a11c438d1 100644 --- a/src/render/renderers.cpp +++ b/src/render/renderers.cpp @@ -22,9 +22,9 @@ #include "debug.h" -static RenderType getDefault() noexcept A_CONST; +static RenderType getDefault() noexcept2 A_CONST; -static RenderType getDefault() noexcept +static RenderType getDefault() noexcept2 { #ifdef USE_OPENGL #ifdef ANDROID @@ -37,7 +37,7 @@ static RenderType getDefault() noexcept #endif } -RenderType intToRenderType(const int mode) noexcept +RenderType intToRenderType(const int mode) noexcept2 { if (mode < 0 || mode >= RENDER_LAST) return getDefault(); |