From b2b348d4baf2891fd82635e068a4f64d2694ba6d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 15 Oct 2012 15:15:39 +0300 Subject: Fix compilation warnings without C++11 support. --- src/net/ea/adminhandler.h | 2 +- src/net/ea/beinghandler.h | 2 +- src/net/ea/buysellhandler.h | 2 +- src/net/ea/charserverhandler.h | 2 +- src/net/ea/chathandler.h | 2 +- src/net/ea/gamehandler.h | 2 +- src/net/ea/gui/guildtab.h | 2 +- src/net/ea/gui/partytab.h | 2 +- src/net/ea/guildhandler.h | 2 +- src/net/ea/inventoryhandler.h | 4 ++-- src/net/ea/itemhandler.h | 2 +- src/net/ea/loginhandler.h | 2 +- src/net/ea/network.h | 2 +- src/net/ea/npchandler.h | 2 +- src/net/ea/partyhandler.h | 2 +- src/net/ea/playerhandler.h | 2 +- src/net/ea/specialhandler.h | 2 +- src/net/ea/tradehandler.h | 2 +- 18 files changed, 19 insertions(+), 19 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/adminhandler.h b/src/net/ea/adminhandler.h index a6c88f8c5..b17f1ffa4 100644 --- a/src/net/ea/adminhandler.h +++ b/src/net/ea/adminhandler.h @@ -35,7 +35,7 @@ class AdminHandler : public Net::AdminHandler AdminHandler() { } - A_DELETE_COPY(AdminHandler); + A_DELETE_COPY(AdminHandler) virtual ~AdminHandler() { } diff --git a/src/net/ea/beinghandler.h b/src/net/ea/beinghandler.h index f49dbb427..468368a32 100644 --- a/src/net/ea/beinghandler.h +++ b/src/net/ea/beinghandler.h @@ -34,7 +34,7 @@ class BeingHandler : public Net::BeingHandler public: BeingHandler(bool enableSync); - A_DELETE_COPY(BeingHandler); + A_DELETE_COPY(BeingHandler) protected: virtual void requestNameById(int id) = 0; diff --git a/src/net/ea/buysellhandler.h b/src/net/ea/buysellhandler.h index 3119d5d18..ce087919f 100644 --- a/src/net/ea/buysellhandler.h +++ b/src/net/ea/buysellhandler.h @@ -39,7 +39,7 @@ class BuySellHandler : public Net::BuySellHandler public: BuySellHandler(); - A_DELETE_COPY(BuySellHandler); + A_DELETE_COPY(BuySellHandler) virtual void requestSellList(std::string nick); diff --git a/src/net/ea/charserverhandler.h b/src/net/ea/charserverhandler.h index b2cbd3044..f84d2634e 100644 --- a/src/net/ea/charserverhandler.h +++ b/src/net/ea/charserverhandler.h @@ -40,7 +40,7 @@ class CharServerHandler : public Net::CharHandler public: CharServerHandler(); - A_DELETE_COPY(CharServerHandler); + A_DELETE_COPY(CharServerHandler) virtual void setCharSelectDialog(CharSelectDialog *window); diff --git a/src/net/ea/chathandler.h b/src/net/ea/chathandler.h index f7bf0e861..e326f9a8b 100644 --- a/src/net/ea/chathandler.h +++ b/src/net/ea/chathandler.h @@ -38,7 +38,7 @@ class ChatHandler : public Net::ChatHandler public: ChatHandler(); - A_DELETE_COPY(ChatHandler); + A_DELETE_COPY(ChatHandler) virtual void talk(const std::string &text) = 0; diff --git a/src/net/ea/gamehandler.h b/src/net/ea/gamehandler.h index 89546301b..186bbaa3c 100644 --- a/src/net/ea/gamehandler.h +++ b/src/net/ea/gamehandler.h @@ -37,7 +37,7 @@ class GameHandler : public Net::GameHandler, public Listener public: GameHandler(); - A_DELETE_COPY(GameHandler); + A_DELETE_COPY(GameHandler) virtual void processEvent(Channels channel, const DepricatedEvent &event) override; diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h index 986231cd3..58f94e4d3 100644 --- a/src/net/ea/gui/guildtab.h +++ b/src/net/ea/gui/guildtab.h @@ -36,7 +36,7 @@ class GuildTab : public ChatTab public: GuildTab(); - A_DELETE_COPY(GuildTab); + A_DELETE_COPY(GuildTab) ~GuildTab(); diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h index e80840dc5..8104217ee 100644 --- a/src/net/ea/gui/partytab.h +++ b/src/net/ea/gui/partytab.h @@ -36,7 +36,7 @@ class PartyTab : public ChatTab public: PartyTab(); - A_DELETE_COPY(PartyTab); + A_DELETE_COPY(PartyTab) ~PartyTab(); diff --git a/src/net/ea/guildhandler.h b/src/net/ea/guildhandler.h index e518a290e..dd326608e 100644 --- a/src/net/ea/guildhandler.h +++ b/src/net/ea/guildhandler.h @@ -35,7 +35,7 @@ class GuildHandler : public Net::GuildHandler public: GuildHandler(); - A_DELETE_COPY(GuildHandler); + A_DELETE_COPY(GuildHandler) ~GuildHandler(); diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index cd56dd31f..80ddcc25f 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -46,7 +46,7 @@ class EquipBackend : public Equipment::Backend memset(mEquipment, -1, sizeof(mEquipment)); } - A_DELETE_COPY(EquipBackend); + A_DELETE_COPY(EquipBackend) Item *getEquipment(int index) const { @@ -142,7 +142,7 @@ class InventoryHandler : public Net::InventoryHandler InventoryHandler(); - A_DELETE_COPY(InventoryHandler); + A_DELETE_COPY(InventoryHandler) ~InventoryHandler(); diff --git a/src/net/ea/itemhandler.h b/src/net/ea/itemhandler.h index c5193dda6..0fa682377 100644 --- a/src/net/ea/itemhandler.h +++ b/src/net/ea/itemhandler.h @@ -34,7 +34,7 @@ class ItemHandler public: ItemHandler(); - A_DELETE_COPY(ItemHandler); + A_DELETE_COPY(ItemHandler) void processItemVisible(Net::MessageIn &msg); diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h index 02789a999..bd527418b 100644 --- a/src/net/ea/loginhandler.h +++ b/src/net/ea/loginhandler.h @@ -41,7 +41,7 @@ class LoginHandler : public Net::LoginHandler public: LoginHandler(); - A_DELETE_COPY(LoginHandler); + A_DELETE_COPY(LoginHandler) ~LoginHandler(); diff --git a/src/net/ea/network.h b/src/net/ea/network.h index ab21fab37..deb770dba 100644 --- a/src/net/ea/network.h +++ b/src/net/ea/network.h @@ -42,7 +42,7 @@ class Network public: Network(); - A_DELETE_COPY(Network); + A_DELETE_COPY(Network) ~Network(); diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h index 93978c62e..6bd038235 100644 --- a/src/net/ea/npchandler.h +++ b/src/net/ea/npchandler.h @@ -39,7 +39,7 @@ class NpcHandler : public Net::NpcHandler public: NpcHandler(); - A_DELETE_COPY(NpcHandler); + A_DELETE_COPY(NpcHandler) void sendLetter(int npcId, const std::string &recipient, const std::string &text); diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h index 8c10bb71e..47ccd5016 100644 --- a/src/net/ea/partyhandler.h +++ b/src/net/ea/partyhandler.h @@ -38,7 +38,7 @@ class PartyHandler : public Net::PartyHandler public: PartyHandler(); - A_DELETE_COPY(PartyHandler); + A_DELETE_COPY(PartyHandler) ~PartyHandler(); diff --git a/src/net/ea/playerhandler.h b/src/net/ea/playerhandler.h index 168bd2a89..eebb9da96 100644 --- a/src/net/ea/playerhandler.h +++ b/src/net/ea/playerhandler.h @@ -35,7 +35,7 @@ class PlayerHandler : public Net::PlayerHandler public: PlayerHandler(); - A_DELETE_COPY(PlayerHandler); + A_DELETE_COPY(PlayerHandler) void decreaseAttribute(int attr); diff --git a/src/net/ea/specialhandler.h b/src/net/ea/specialhandler.h index fefef91b8..b951f9aab 100644 --- a/src/net/ea/specialhandler.h +++ b/src/net/ea/specialhandler.h @@ -35,7 +35,7 @@ class SpecialHandler : public Net::SpecialHandler public: SpecialHandler(); - A_DELETE_COPY(SpecialHandler); + A_DELETE_COPY(SpecialHandler) void handleMessage(Net::MessageIn &msg); diff --git a/src/net/ea/tradehandler.h b/src/net/ea/tradehandler.h index a97f066ec..e669ccf4f 100644 --- a/src/net/ea/tradehandler.h +++ b/src/net/ea/tradehandler.h @@ -35,7 +35,7 @@ class TradeHandler : public Net::TradeHandler public: TradeHandler(); - A_DELETE_COPY(TradeHandler); + A_DELETE_COPY(TradeHandler) void removeItem(int slotNum, int amount); -- cgit v1.2.3-70-g09d2