From f95e58406341d5672048ed9dca293beea9ee6b2c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 Feb 2016 01:22:38 +0300 Subject: Add more missing consts. --- src/net/tmwa/messagein.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/tmwa/messagein.cpp') diff --git a/src/net/tmwa/messagein.cpp b/src/net/tmwa/messagein.cpp index c8cf350e7..375e973f5 100644 --- a/src/net/tmwa/messagein.cpp +++ b/src/net/tmwa/messagein.cpp @@ -49,7 +49,7 @@ void MessageIn::postInit(const char *const str) readInt16(str); } -uint16_t MessageIn::readId() +uint16_t MessageIn::readId() const { int16_t value = -1; if (mPos + 2 <= mLength) -- cgit v1.2.3-60-g2f50