summaryrefslogtreecommitdiff
path: root/src/render/shaders
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-06 20:29:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-06 20:29:01 +0300
commit4735bb216c4b2017fccb290040d8325445bd51fa (patch)
treeda791a976a9fc0ec1cd0b5f8f77e03573c1e0376 /src/render/shaders
parentb98795bfc07a3bad493f0abac35f0b607447f582 (diff)
downloadplus-4735bb216c4b2017fccb290040d8325445bd51fa.tar.gz
plus-4735bb216c4b2017fccb290040d8325445bd51fa.tar.bz2
plus-4735bb216c4b2017fccb290040d8325445bd51fa.tar.xz
plus-4735bb216c4b2017fccb290040d8325445bd51fa.zip
Add noexcept into shaders.
Diffstat (limited to 'src/render/shaders')
-rw-r--r--src/render/shaders/shader.h2
-rw-r--r--src/render/shaders/shaderprogram.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/render/shaders/shader.h b/src/render/shaders/shader.h
index a984b5ef2..ca54c0e92 100644
--- a/src/render/shaders/shader.h
+++ b/src/render/shaders/shader.h
@@ -34,7 +34,7 @@ class Shader final : public Resource
A_DELETE_COPY(Shader)
- unsigned int getShaderId() const
+ unsigned int getShaderId() const noexcept
{ return mShaderId; }
protected:
diff --git a/src/render/shaders/shaderprogram.h b/src/render/shaders/shaderprogram.h
index f83340715..4898798e1 100644
--- a/src/render/shaders/shaderprogram.h
+++ b/src/render/shaders/shaderprogram.h
@@ -38,7 +38,7 @@ class ShaderProgram final : public Resource
A_DELETE_COPY(ShaderProgram)
- unsigned int getProgramId() const
+ unsigned int getProgramId() const noexcept
{ return mProgramId; }
protected: