From a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:19:59 +0300 Subject: Add missing const in net directory. --- src/net/eathena/familyhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/eathena/familyhandler.cpp') 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"); -- cgit v1.2.3-60-g2f50