summaryrefslogtreecommitdiff
path: root/src/text.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/text.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadmanaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
manaplus-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/text.h b/src/text.h
index 74910f0b1..215884e30 100644
--- a/src/text.h
+++ b/src/text.h
@@ -44,6 +44,8 @@ class Text
const gcn::Color *const color, const bool isSpeech = false,
gcn::Font *const font = nullptr);
+ A_DELETE_COPY(Text);
+
/**
* Destructor. The text is removed from the screen.
*/
@@ -92,6 +94,8 @@ class FlashText final : public Text
const gcn::Color *const color,
gcn::Font *const font = nullptr);
+ A_DELETE_COPY(FlashText);
+
/**
* Remove the text from the screen
*/