From c430b75e370a21a17f80d4ba3acd84111828a462 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 26 Sep 2013 20:08:44 +0300 Subject: add const for methods return values. --- src/net/messageout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/messageout.cpp') diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index ab279020f..1a295a066 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -110,7 +110,7 @@ void MessageOut::writeStringNoLog(const std::string &string, int length) PacketCounters::incOutBytes(length); } -char *MessageOut::getData() const +const char *MessageOut::getData() const { return mData; } -- cgit v1.2.3-70-g09d2