diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-28 19:29:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-28 19:29:05 +0300 |
commit | 00f62e4f3db5aa737b4242a3d691d2ade299fc72 (patch) | |
tree | ee6fd7021bc7e4a69a1f9e69a4f3c3041f183f4d /src/render/shaders | |
parent | 1fc73fd6d8cb70e306b3bdeb375de1dd1e9458cc (diff) | |
download | mv-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.gz mv-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.bz2 mv-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.xz mv-00f62e4f3db5aa737b4242a3d691d2ade299fc72.zip |
Add missing override and final to destructors.
Also remove some empty destructors.
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 f11d9d44e..ea5429e3c 100644 --- a/src/render/shaders/shader.h +++ b/src/render/shaders/shader.h @@ -30,7 +30,7 @@ class Shader final : public Resource public: explicit Shader(const unsigned int id); - ~Shader(); + ~Shader() override final; A_DELETE_COPY(Shader) diff --git a/src/render/shaders/shaderprogram.h b/src/render/shaders/shaderprogram.h index b8d8e4bc3..ba3c9775a 100644 --- a/src/render/shaders/shaderprogram.h +++ b/src/render/shaders/shaderprogram.h @@ -34,7 +34,7 @@ class ShaderProgram final : public Resource Shader *const vertex, Shader *const fragment); - ~ShaderProgram(); + ~ShaderProgram() override final; A_DELETE_COPY(ShaderProgram) |