From 520a495c466793c29f3e721634dfe6cc616b8ede Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 1 May 2014 23:56:03 +0300 Subject: Add missing const. --- src/net/tmwa/partyhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa/partyhandler.cpp') diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp index ba18a9efa..a7088e33b 100644 --- a/src/net/tmwa/partyhandler.cpp +++ b/src/net/tmwa/partyhandler.cpp @@ -112,7 +112,7 @@ void PartyHandler::create(const std::string &name) const outMsg.writeString(name.substr(0, 23), 24); } -void PartyHandler::invite(Being *const being) const +void PartyHandler::invite(const Being *const being) const { if (being) { @@ -151,7 +151,7 @@ void PartyHandler::leave() const MessageOut outMsg(CMSG_PARTY_LEAVE); } -void PartyHandler::kick(Being *const being) const +void PartyHandler::kick(const Being *const being) const { if (being) { -- cgit v1.2.3-70-g09d2