diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-22 01:22:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-22 01:22:38 +0300 |
commit | f95e58406341d5672048ed9dca293beea9ee6b2c (patch) | |
tree | 49bb3f3672bbd152f7ea962815d24ef8cdfb07b0 /src/net/tmwa/messageout.cpp | |
parent | f3ac812e2079eac53c1a9db56541d7103bd14a61 (diff) | |
download | manaplus-f95e58406341d5672048ed9dca293beea9ee6b2c.tar.gz manaplus-f95e58406341d5672048ed9dca293beea9ee6b2c.tar.bz2 manaplus-f95e58406341d5672048ed9dca293beea9ee6b2c.tar.xz manaplus-f95e58406341d5672048ed9dca293beea9ee6b2c.zip |
Add more missing consts.
Diffstat (limited to 'src/net/tmwa/messageout.cpp')
-rw-r--r-- | src/net/tmwa/messageout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/messageout.cpp b/src/net/tmwa/messageout.cpp index c0ac1ef03..82a67e924 100644 --- a/src/net/tmwa/messageout.cpp +++ b/src/net/tmwa/messageout.cpp @@ -43,7 +43,7 @@ MessageOut::MessageOut(const int16_t id) : mData = mNetwork->mOutBuffer + CAST_SIZE(mNetwork->mOutSize); } -void MessageOut::expand(const size_t bytes) +void MessageOut::expand(const size_t bytes) const { mNetwork->mOutSize += CAST_U32(bytes); PacketCounters::incOutBytes(CAST_S32(bytes)); |