From e066ec2e038405621a7de50e4cd735e548eb488d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 00:16:37 +0300 Subject: Delete copy constructor in some classes. --- src/graphicsvertexes.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/graphicsvertexes.h') diff --git a/src/graphicsvertexes.h b/src/graphicsvertexes.h index c7e9b1961..880370beb 100644 --- a/src/graphicsvertexes.h +++ b/src/graphicsvertexes.h @@ -54,6 +54,8 @@ class SDLGraphicsVertexes final public: SDLGraphicsVertexes(); + A_DELETE_COPY(SDLGraphicsVertexes); + ~SDLGraphicsVertexes(); std::vector mList; @@ -69,6 +71,8 @@ class NormalOpenGLGraphicsVertexes final public: NormalOpenGLGraphicsVertexes(); + A_DELETE_COPY(NormalOpenGLGraphicsVertexes); + ~NormalOpenGLGraphicsVertexes(); GLfloat *switchFloatTexArray(); @@ -124,6 +128,8 @@ class ImageVertexes final public: ImageVertexes(); + A_DELETE_COPY(ImageVertexes); + ~ImageVertexes(); Image *image; @@ -139,6 +145,8 @@ class GraphicsVertexes final public: GraphicsVertexes(); + A_DELETE_COPY(GraphicsVertexes); + ~GraphicsVertexes(); static void setLoadAsOpenGL(int useOpenGL); -- cgit v1.2.3-70-g09d2