summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-21 00:28:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-21 00:28:46 +0300
commitc78423448941517eeae0a60e703a5dc2976aed0c (patch)
treebcbe6c9aa737daf61816d0be04bdd46e908462ca /src/net/ea/partyhandler.h
parent5f5a1a74a4bc1711b5501dbc0f117153e4214bcd (diff)
downloadmv-c78423448941517eeae0a60e703a5dc2976aed0c.tar.gz
mv-c78423448941517eeae0a60e703a5dc2976aed0c.tar.bz2
mv-c78423448941517eeae0a60e703a5dc2976aed0c.tar.xz
mv-c78423448941517eeae0a60e703a5dc2976aed0c.zip
fix compilation without C++11 options.
Diffstat (limited to 'src/net/ea/partyhandler.h')
-rw-r--r--src/net/ea/partyhandler.h10
1 files changed, 6 insertions, 4 deletions
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;