diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-17 18:22:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-17 18:22:25 +0300 |
commit | 533172dc2df60406e2c7f08f36de3742721f8079 (patch) | |
tree | 3cdd02c2876a8eaeb8d852384e6214ecac13739c /src/render | |
parent | fed37f530d063cbce6a9bba7f1a878c42e10367e (diff) | |
download | mv-533172dc2df60406e2c7f08f36de3742721f8079.tar.gz mv-533172dc2df60406e2c7f08f36de3742721f8079.tar.bz2 mv-533172dc2df60406e2c7f08f36de3742721f8079.tar.xz mv-533172dc2df60406e2c7f08f36de3742721f8079.zip |
Add missing A_DEFAULT_COPY / A_DELETE_COPY into other files.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/mockdrawitem.h | 2 | ||||
-rw-r--r-- | src/render/shaders/shadersmanager.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/render/mockdrawitem.h b/src/render/mockdrawitem.h index 94198329a..784e61861 100644 --- a/src/render/mockdrawitem.h +++ b/src/render/mockdrawitem.h @@ -44,6 +44,8 @@ struct MockDrawItem final { } + A_DEFAULT_COPY(MockDrawItem) + const Image *image; MockDrawTypeT drawType; int x; diff --git a/src/render/shaders/shadersmanager.h b/src/render/shaders/shadersmanager.h index 9f6bd894f..8e45290c4 100644 --- a/src/render/shaders/shadersmanager.h +++ b/src/render/shaders/shadersmanager.h @@ -33,6 +33,11 @@ class ShaderProgram; class ShadersManager final { public: + ShadersManager() + { } + + A_DELETE_COPY(ShadersManager) + Shader *createShader(const unsigned int type, const std::string &fileName) A_WARN_UNUSED; |