summaryrefslogtreecommitdiff
path: root/src/net/eathena/familyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
commita9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch)
treef6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/eathena/familyhandler.cpp
parent3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff)
downloadmv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz
mv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2
mv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz
mv-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip
Add missing const in net directory.
Diffstat (limited to 'src/net/eathena/familyhandler.cpp')
-rw-r--r--src/net/eathena/familyhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/familyhandler.cpp b/src/net/eathena/familyhandler.cpp
index ec22a7097..961d8877d 100644
--- a/src/net/eathena/familyhandler.cpp
+++ b/src/net/eathena/familyhandler.cpp
@@ -41,7 +41,7 @@ FamilyHandler::FamilyHandler()
familyHandler = this;
}
-void FamilyHandler::askForChild(const Being *const being)
+void FamilyHandler::askForChild(const Being *const being) const
{
if (!being)
return;
@@ -50,7 +50,7 @@ void FamilyHandler::askForChild(const Being *const being)
outMsg.writeBeingId(being->getId(), "account id");
}
-void FamilyHandler::askForChildReply(const bool accept)
+void FamilyHandler::askForChildReply(const bool accept) const
{
createOutPacket(CMSG_FAMILY_ASK_FOR_CHILD_REPLY);
outMsg.writeInt32(FamilyRecv::mParent1, "parent1");