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/gui/widgets/textpreview.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/textpreview.h') diff --git a/src/gui/widgets/textpreview.h b/src/gui/widgets/textpreview.h index 0c127cba0..3b4d6dd65 100644 --- a/src/gui/widgets/textpreview.h +++ b/src/gui/widgets/textpreview.h @@ -35,6 +35,8 @@ class TextPreview final : public gcn::Widget public: TextPreview(const std::string &text); + A_DELETE_COPY(TextPreview); + /** * Sets the color the text is printed in. * -- cgit v1.2.3-70-g09d2