summaryrefslogtreecommitdiff
path: root/src/graphicsvertexes.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 00:16:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 00:16:37 +0300
commite066ec2e038405621a7de50e4cd735e548eb488d (patch)
tree626e7ddacf867949a5380bfe528a332dffada5a4 /src/graphicsvertexes.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
plus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
plus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
plus-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/graphicsvertexes.h')
-rw-r--r--src/graphicsvertexes.h8
1 files changed, 8 insertions, 0 deletions
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<DoubleRect*> 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);