summaryrefslogtreecommitdiff
path: root/src/render/renderers.cpp
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/renderers.cpp
parente6f2965e420da97d989ea4650e2dfc66a0decb3a (diff)
downloadmv-b98795bfc07a3bad493f0abac35f0b607447f582.tar.gz
mv-b98795bfc07a3bad493f0abac35f0b607447f582.tar.bz2
mv-b98795bfc07a3bad493f0abac35f0b607447f582.tar.xz
mv-b98795bfc07a3bad493f0abac35f0b607447f582.zip
Add noexcept into other renderers.
Diffstat (limited to 'src/render/renderers.cpp')
-rw-r--r--src/render/renderers.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/renderers.cpp b/src/render/renderers.cpp
index 60aeda1a1..6d385d294 100644
--- a/src/render/renderers.cpp
+++ b/src/render/renderers.cpp
@@ -22,7 +22,9 @@
#include "debug.h"
-static RenderType getDefault()
+static RenderType getDefault() noexcept A_CONST;
+
+static RenderType getDefault() noexcept
{
#ifdef USE_OPENGL
#ifdef ANDROID
@@ -35,7 +37,7 @@ static RenderType getDefault()
#endif
}
-RenderType intToRenderType(const int mode)
+RenderType intToRenderType(const int mode) noexcept
{
if (mode < 0 || mode >= RENDER_LAST)
return getDefault();