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/shaders | |
parent | aaa274245a584c633dcfdb5444bbc1dc21c0c28f (diff) | |
download | plus-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/shaders')
-rw-r--r-- | src/render/shaders/shader.h | 2 | ||||
-rw-r--r-- | src/render/shaders/shaderprogram.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/render/shaders/shader.h b/src/render/shaders/shader.h index ca54c0e92..21bc48b30 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 noexcept + unsigned int getShaderId() const noexcept2 { return mShaderId; } protected: diff --git a/src/render/shaders/shaderprogram.h b/src/render/shaders/shaderprogram.h index 4898798e1..d1c55206e 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 noexcept + unsigned int getProgramId() const noexcept2 { return mProgramId; } protected: |