diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-10 03:29:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-10 03:29:39 +0300 |
commit | 1d3118ec21f537695dc0e6a9608acd67396d0a51 (patch) | |
tree | 5cf9229b2d23f2a7a584b5fed9aaead306df6496 /src/gui/socialwindow.cpp | |
parent | dd996d01676d7dca3eec442b14c4966ba0bb0935 (diff) | |
download | mv-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.gz mv-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.bz2 mv-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.xz mv-1d3118ec21f537695dc0e6a9608acd67396d0a51.zip |
Delete copy constructor from other classes.
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r-- | src/gui/socialwindow.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index 1b1d0e6e8..938817b0d 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -82,6 +82,8 @@ class SortFriendsFunctor final class SocialTab : public Tab { public: + A_DELETE_COPY(SocialTab); + virtual void invite() = 0; virtual void leave() = 0; @@ -153,6 +155,8 @@ public: mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); } + A_DELETE_COPY(SocialGuildTab); + ~SocialGuildTab() { delete mList; @@ -257,6 +261,8 @@ public: mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); } + A_DELETE_COPY(SocialGuildTab2); + ~SocialGuildTab2() { delete mList; @@ -317,6 +323,8 @@ public: mScroll->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); } + A_DELETE_COPY(SocialPartyTab); + ~SocialPartyTab() { delete mList; @@ -404,6 +412,8 @@ public: { } + A_DELETE_COPY(BeingsListModal); + ~BeingsListModal() { delete_all(mMembers); @@ -446,6 +456,8 @@ public: setCaption(name); } + A_DELETE_COPY(SocialPlayersTab); + ~SocialPlayersTab() { delete mList; @@ -612,6 +624,8 @@ public: setCaption(_("Nav")); } + A_DELETE_COPY(SocialNavigationTab); + ~SocialNavigationTab() { delete mList; @@ -948,6 +962,8 @@ public: setCaption(_("Atk")); } + A_DELETE_COPY(SocialAttackTab); + ~SocialAttackTab() { delete mList; @@ -1004,6 +1020,8 @@ public: setCaption(_("Pik")); } + A_DELETE_COPY(SocialPickupTab); + ~SocialPickupTab() { delete mList; @@ -1060,6 +1078,8 @@ public: setCaption(name); } + A_DELETE_COPY(SocialFriendsTab); + ~SocialFriendsTab() { delete mList; @@ -1161,6 +1181,8 @@ public: mBrowserBox->getHeight() + 8); } + A_DELETE_COPY(CreatePopup); + void handleLink(const std::string &link, gcn::MouseEvent *event A_UNUSED) { if (link == "guild" && socialWindow) |