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/text.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/text.h') 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 */ -- cgit v1.2.3-70-g09d2