From c78423448941517eeae0a60e703a5dc2976aed0c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 May 2014 00:28:46 +0300 Subject: fix compilation without C++11 options. --- src/net/ea/partyhandler.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/net/ea/partyhandler.h') diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h index 19f66a238..61aa49bfa 100644 --- a/src/net/ea/partyhandler.h +++ b/src/net/ea/partyhandler.h @@ -46,10 +46,12 @@ class PartyHandler : public Net::PartyHandler void join(const int partyId) const override final; - Net::PartyShare getShareExperience() const override final A_WARN_UNUSED + Net::PartyShare::Type getShareExperience() + const override final A_WARN_UNUSED { return mShareExp; } - Net::PartyShare getShareItems() const override final A_WARN_UNUSED + Net::PartyShare::Type getShareItems() + const override final A_WARN_UNUSED { return mShareItems; } static void reload(); @@ -79,8 +81,8 @@ class PartyHandler : public Net::PartyHandler virtual void processPartyMessage(Net::MessageIn &msg) const; protected: - Net::PartyShare mShareExp; - Net::PartyShare mShareItems; + Net::PartyShare::Type mShareExp; + Net::PartyShare::Type mShareItems; }; extern PartyTab *partyTab; -- cgit v1.2.3-70-g09d2