From 7333084ce4c1d0fbaaef265d1400ef9552f856bd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 15 Jul 2016 19:53:28 +0300 Subject: Add some missing costs. --- src/gui/popups/beingpopup.cpp | 2 +- src/net/eathena/beingrecv.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp index 396f323a7..3809ed4d2 100644 --- a/src/gui/popups/beingpopup.cpp +++ b/src/gui/popups/beingpopup.cpp @@ -275,7 +275,7 @@ void BeingPopup::show(const int x, const int y, Being *const b) int height = height1; FOR_EACH (std::vector::iterator, it, mLabels) { - Label *const label = *it; + const Label *const label = *it; if (label) { if (label->getWidth() > minWidth) diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index aac0dd914..3a1bcfb06 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -971,7 +971,7 @@ void BeingRecv::processBeingStatusChange(Net::MessageIn &msg) msg.readInt32("val3"); } - IsStart start = msg.getVersion() == 20090121 ? + const IsStart start = msg.getVersion() == 20090121 ? IsStart_false : IsStart_true; Being *const dstBeing = actorManager->findBeing(id); -- cgit v1.2.3-60-g2f50