From 4735bb216c4b2017fccb290040d8325445bd51fa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 6 Jan 2016 20:29:01 +0300 Subject: Add noexcept into shaders. --- src/render/shaders/shader.h | 2 +- src/render/shaders/shaderprogram.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render') 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: -- cgit v1.2.3-70-g09d2