diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-21 00:28:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-21 00:28:46 +0300 |
commit | c78423448941517eeae0a60e703a5dc2976aed0c (patch) | |
tree | bcbe6c9aa737daf61816d0be04bdd46e908462ca /src/net/ea | |
parent | 5f5a1a74a4bc1711b5501dbc0f117153e4214bcd (diff) | |
download | plus-c78423448941517eeae0a60e703a5dc2976aed0c.tar.gz plus-c78423448941517eeae0a60e703a5dc2976aed0c.tar.bz2 plus-c78423448941517eeae0a60e703a5dc2976aed0c.tar.xz plus-c78423448941517eeae0a60e703a5dc2976aed0c.zip |
fix compilation without C++11 options.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/partyhandler.h | 10 |
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; |