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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/messageout.h') diff --git a/src/net/messageout.h b/src/net/messageout.h index 68d4b53a3..0fcd6ce15 100644 --- a/src/net/messageout.h +++ b/src/net/messageout.h @@ -62,7 +62,7 @@ class MessageOut /** * Returns the content of the message. */ - virtual char *getData() const A_WARN_UNUSED; + virtual const char *getData() const A_WARN_UNUSED; /** * Returns the length of the data. -- cgit v1.2.3-60-g2f50