diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-10 00:16:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-10 00:16:37 +0300 |
commit | e066ec2e038405621a7de50e4cd735e548eb488d (patch) | |
tree | 626e7ddacf867949a5380bfe528a332dffada5a4 /src/textmanager.h | |
parent | 6d7af74bab17c03f1604e8351d397695286414ed (diff) | |
download | mv-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz mv-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2 mv-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz mv-e066ec2e038405621a7de50e4cd735e548eb488d.zip |
Delete copy constructor in some classes.
Diffstat (limited to 'src/textmanager.h')
-rw-r--r-- | src/textmanager.h | 12 |
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, |