summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.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/gui/popupmenu.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadplus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
plus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
plus-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
plus-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/gui/popupmenu.h')
-rw-r--r--src/gui/popupmenu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/popupmenu.h b/src/gui/popupmenu.h
index b797138be..efbf2bbe4 100644
--- a/src/gui/popupmenu.h
+++ b/src/gui/popupmenu.h
@@ -50,6 +50,8 @@ class RenameListener final : public gcn::ActionListener
public:
RenameListener();
+ A_DELETE_COPY(RenameListener);
+
void action(const gcn::ActionEvent &event) override;
void setMapItem(MapItem* mapItem)
@@ -68,6 +70,8 @@ class PlayerListener : public gcn::ActionListener
public:
PlayerListener();
+ A_DELETE_COPY(PlayerListener);
+
void action(const gcn::ActionEvent &event) override;
void setNick(std::string name)
@@ -96,6 +100,8 @@ class PopupMenu final : public Popup, public LinkHandler
*/
PopupMenu();
+ A_DELETE_COPY(PopupMenu);
+
/**
* Shows the being related popup menu at the specified mouse coords.
*/