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/whoisonline.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/whoisonline.h') diff --git a/src/gui/whoisonline.h b/src/gui/whoisonline.h index 4e0638ef1..6993a77e6 100644 --- a/src/gui/whoisonline.h +++ b/src/gui/whoisonline.h @@ -62,6 +62,8 @@ class OnlinePlayer final { } + A_DELETE_COPY(OnlinePlayer); + const std::string getNick() const { return mNick; } @@ -117,6 +119,8 @@ public: */ WhoIsOnline(); + A_DELETE_COPY(WhoIsOnline); + /** * Destructor */ -- cgit v1.2.3-60-g2f50