From 533172dc2df60406e2c7f08f36de3742721f8079 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jan 2017 18:22:25 +0300 Subject: Add missing A_DEFAULT_COPY / A_DELETE_COPY into other files. --- src/render/mockdrawitem.h | 2 ++ src/render/shaders/shadersmanager.h | 5 +++++ 2 files changed, 7 insertions(+) (limited to 'src/render') 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; -- cgit v1.2.3-70-g09d2