From 6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Apr 2013 17:06:02 +0300 Subject: another fixes from cpplint. --- src/net/ea/adminhandler.h | 2 +- src/net/ea/beinghandler.h | 4 ++-- src/net/ea/buysellhandler.h | 2 +- src/net/ea/charserverhandler.h | 2 +- src/net/ea/chathandler.h | 2 +- src/net/ea/gamehandler.h | 4 ++-- src/net/ea/gui/guildtab.h | 2 +- src/net/ea/gui/partytab.h | 2 +- src/net/ea/guildhandler.h | 4 ++-- src/net/ea/inventoryhandler.h | 2 +- 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/skillhandler.h | 2 +- src/net/ea/token.h | 2 +- src/net/ea/tradehandler.h | 2 +- 19 files changed, 22 insertions(+), 22 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/adminhandler.h b/src/net/ea/adminhandler.h index 06dc7ab8c..7112bb75d 100644 --- a/src/net/ea/adminhandler.h +++ b/src/net/ea/adminhandler.h @@ -59,4 +59,4 @@ class AdminHandler : public Net::AdminHandler } // namespace Ea -#endif // NET_EA_ADMINHANDLER_H +#endif // NET_EA_ADMINHANDLER_H diff --git a/src/net/ea/beinghandler.h b/src/net/ea/beinghandler.h index 46a28b908..6552e5a69 100644 --- a/src/net/ea/beinghandler.h +++ b/src/net/ea/beinghandler.h @@ -32,7 +32,7 @@ namespace Ea class BeingHandler : public Net::BeingHandler { public: - BeingHandler(const bool enableSync); + explicit BeingHandler(const bool enableSync); A_DELETE_COPY(BeingHandler) @@ -104,4 +104,4 @@ class BeingHandler : public Net::BeingHandler } // namespace Ea -#endif // NET_EA_BEINGHANDLER_H +#endif // NET_EA_BEINGHANDLER_H diff --git a/src/net/ea/buysellhandler.h b/src/net/ea/buysellhandler.h index fb7db09e0..8cb4b2951 100644 --- a/src/net/ea/buysellhandler.h +++ b/src/net/ea/buysellhandler.h @@ -67,4 +67,4 @@ class BuySellHandler : public Net::BuySellHandler } // namespace Ea -#endif // NET_EA_BUYSELLHANDLER_H +#endif // NET_EA_BUYSELLHANDLER_H diff --git a/src/net/ea/charserverhandler.h b/src/net/ea/charserverhandler.h index be91ef017..aeb8d2d09 100644 --- a/src/net/ea/charserverhandler.h +++ b/src/net/ea/charserverhandler.h @@ -94,4 +94,4 @@ class CharServerHandler : public Net::CharServerHandler } // namespace Ea -#endif // NET_EA_CHARSERVERHANDLER_H +#endif // NET_EA_CHARSERVERHANDLER_H diff --git a/src/net/ea/chathandler.h b/src/net/ea/chathandler.h index fb286a845..327a708cd 100644 --- a/src/net/ea/chathandler.h +++ b/src/net/ea/chathandler.h @@ -65,4 +65,4 @@ class ChatHandler : public Net::ChatHandler } // namespace Ea -#endif // NET_EA_CHATHANDLER_H +#endif // NET_EA_CHATHANDLER_H diff --git a/src/net/ea/gamehandler.h b/src/net/ea/gamehandler.h index 98b108a0d..5fe74af68 100644 --- a/src/net/ea/gamehandler.h +++ b/src/net/ea/gamehandler.h @@ -61,9 +61,9 @@ class GameHandler : public Net::GameHandler protected: std::string mMap; - int mCharID; /// < Saved for map-server switching + int mCharID; // < Saved for map-server switching }; } // namespace Ea -#endif // NET_EA_GAMEHANDLER_H +#endif // NET_EA_GAMEHANDLER_H diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h index 6558cbef1..fdfd2fea4 100644 --- a/src/net/ea/gui/guildtab.h +++ b/src/net/ea/gui/guildtab.h @@ -34,7 +34,7 @@ namespace Ea class GuildTab : public ChatTab, public ConfigListener { public: - GuildTab(const Widget2 *const widget); + explicit GuildTab(const Widget2 *const widget); A_DELETE_COPY(GuildTab) diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h index e1fd7e4c3..a2c782248 100644 --- a/src/net/ea/gui/partytab.h +++ b/src/net/ea/gui/partytab.h @@ -34,7 +34,7 @@ namespace Ea class PartyTab : public ChatTab { public: - PartyTab(const Widget2 *const widget); + explicit PartyTab(const Widget2 *const widget); A_DELETE_COPY(PartyTab) diff --git a/src/net/ea/guildhandler.h b/src/net/ea/guildhandler.h index a1a66763c..717641956 100644 --- a/src/net/ea/guildhandler.h +++ b/src/net/ea/guildhandler.h @@ -110,6 +110,6 @@ class GuildHandler : public Net::GuildHandler extern Guild *taGuild; extern GuildTab *guildTab; -} +} // namespace Ea -#endif // NET_EA_GUILDHANDLER_H +#endif // NET_EA_GUILDHANDLER_H diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h index 415acd2e5..b398053e3 100644 --- a/src/net/ea/inventoryhandler.h +++ b/src/net/ea/inventoryhandler.h @@ -212,4 +212,4 @@ class InventoryHandler : public Net::InventoryHandler } // namespace Ea -#endif // NET_EA_INVENTORYHANDLER_H +#endif // NET_EA_INVENTORYHANDLER_H diff --git a/src/net/ea/itemhandler.h b/src/net/ea/itemhandler.h index 5aa1ee51a..cd56f2d12 100644 --- a/src/net/ea/itemhandler.h +++ b/src/net/ea/itemhandler.h @@ -45,4 +45,4 @@ class ItemHandler } // namespace Ea -#endif // NET_EA_ITEMHANDLER_H +#endif // NET_EA_ITEMHANDLER_H diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h index 0c290f583..38defc09d 100644 --- a/src/net/ea/loginhandler.h +++ b/src/net/ea/loginhandler.h @@ -106,4 +106,4 @@ class LoginHandler : public Net::LoginHandler } // namespace Ea -#endif // NET_TA_LOGINHANDLER_H +#endif // NET_TA_LOGINHANDLER_H diff --git a/src/net/ea/network.h b/src/net/ea/network.h index 823fa2714..e0066afaf 100644 --- a/src/net/ea/network.h +++ b/src/net/ea/network.h @@ -114,4 +114,4 @@ class Network } // namespace Ea -#endif // NET_EA_NETWORK_H +#endif // NET_EA_NETWORK_H diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h index 6bc88aac7..c87cb0ce3 100644 --- a/src/net/ea/npchandler.h +++ b/src/net/ea/npchandler.h @@ -77,4 +77,4 @@ class NpcHandler : public Net::NpcHandler } // namespace Ea -#endif // NET_EA_NPCHANDLER_H +#endif // NET_EA_NPCHANDLER_H diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h index 9a9867916..5b42f557f 100644 --- a/src/net/ea/partyhandler.h +++ b/src/net/ea/partyhandler.h @@ -86,4 +86,4 @@ extern Party *taParty; } // namespace Ea -#endif // NET_EA_PARTYHANDLER_H +#endif // NET_EA_PARTYHANDLER_H diff --git a/src/net/ea/playerhandler.h b/src/net/ea/playerhandler.h index 02241df97..e5135ea3d 100644 --- a/src/net/ea/playerhandler.h +++ b/src/net/ea/playerhandler.h @@ -75,4 +75,4 @@ class PlayerHandler : public Net::PlayerHandler } // namespace Ea -#endif // NET_EA_PLAYERHANDLER_H +#endif // NET_EA_PLAYERHANDLER_H diff --git a/src/net/ea/skillhandler.h b/src/net/ea/skillhandler.h index 8a5cb93cc..155f81ba7 100644 --- a/src/net/ea/skillhandler.h +++ b/src/net/ea/skillhandler.h @@ -46,4 +46,4 @@ class SkillHandler : public Net::SkillHandler } // namespace Ea -#endif // NET_EA_SKILLHANDLER_H +#endif // NET_EA_SKILLHANDLER_H diff --git a/src/net/ea/token.h b/src/net/ea/token.h index 199bb9f8a..c358ef8a7 100644 --- a/src/net/ea/token.h +++ b/src/net/ea/token.h @@ -41,4 +41,4 @@ struct Token } }; -#endif // NET_EA_TOKEN_H +#endif // NET_EA_TOKEN_H diff --git a/src/net/ea/tradehandler.h b/src/net/ea/tradehandler.h index c01f36fd8..9abc7e84b 100644 --- a/src/net/ea/tradehandler.h +++ b/src/net/ea/tradehandler.h @@ -56,4 +56,4 @@ class TradeHandler : public Net::TradeHandler } // namespace Ea -#endif // NET_EA_TRADEHANDLER_H +#endif // NET_EA_TRADEHANDLER_H -- cgit v1.2.3-70-g09d2