summaryrefslogtreecommitdiff
path: root/src/textmanager.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/textmanager.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadmanaverse-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
manaverse-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
manaverse-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
manaverse-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/textmanager.h')
-rw-r--r--src/textmanager.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/textmanager.h b/src/textmanager.h
index 49afb6f1c..3afa08ea4 100644
--- a/src/textmanager.h
+++ b/src/textmanager.h
@@ -41,6 +41,13 @@ class TextManager final
*/
TextManager();
+ A_DELETE_COPY(TextManager);
+
+ /**
+ * Destroy the manager
+ */
+ ~TextManager();
+
/**
* Add text to the manager
*/
@@ -57,11 +64,6 @@ class TextManager final
void removeText(const Text *const text);
/**
- * Destroy the manager
- */
- ~TextManager();
-
- /**
* Draw the text
*/
void draw(gcn::Graphics *const graphics,