summaryrefslogtreecommitdiff
path: root/src/net/eathena
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/eathena
parent5f5a1a74a4bc1711b5501dbc0f117153e4214bcd (diff)
downloadmanaplus-c78423448941517eeae0a60e703a5dc2976aed0c.tar.gz
manaplus-c78423448941517eeae0a60e703a5dc2976aed0c.tar.bz2
manaplus-c78423448941517eeae0a60e703a5dc2976aed0c.tar.xz
manaplus-c78423448941517eeae0a60e703a5dc2976aed0c.zip
fix compilation without C++11 options.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/partyhandler.cpp4
-rw-r--r--src/net/eathena/partyhandler.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index e1c385c4c..bfbe5c8f7 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -183,7 +183,7 @@ void PartyHandler::chat(const std::string &text) const
outMsg.writeString(text, static_cast<int>(text.length()));
}
-void PartyHandler::setShareExperience(const Net::PartyShare share) const
+void PartyHandler::setShareExperience(const Net::PartyShare::Type share) const
{
if (share == Net::PartyShare::NOT_POSSIBLE)
return;
@@ -193,7 +193,7 @@ void PartyHandler::setShareExperience(const Net::PartyShare share) const
outMsg.writeInt16(static_cast<int16_t>(mShareItems));
}
-void PartyHandler::setShareItems(const Net::PartyShare share) const
+void PartyHandler::setShareItems(const Net::PartyShare::Type share) const
{
if (share == Net::PartyShare::NOT_POSSIBLE)
return;
diff --git a/src/net/eathena/partyhandler.h b/src/net/eathena/partyhandler.h
index 87bd50543..dd98a6fce 100644
--- a/src/net/eathena/partyhandler.h
+++ b/src/net/eathena/partyhandler.h
@@ -59,10 +59,11 @@ class PartyHandler final : public MessageHandler, public Ea::PartyHandler
void chat(const std::string &text) const override final;
- void setShareExperience(const Net::PartyShare share)
+ void setShareExperience(const Net::PartyShare::Type share)
const override final;
- void setShareItems(const Net::PartyShare share) const override final;
+ void setShareItems(const Net::PartyShare::Type share)
+ const override final;
};
} // namespace EAthena