From b50eee3c4571c4a4657bc14c2935067d833bb801 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:48:19 +0300 Subject: Add const attribute to net classes. --- src/net/messageout.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net/messageout.h') diff --git a/src/net/messageout.h b/src/net/messageout.h index 39b826dfe..9b6081b14 100644 --- a/src/net/messageout.h +++ b/src/net/messageout.h @@ -89,7 +89,8 @@ class MessageOut notfinal virtual ~MessageOut() { } - static unsigned char toServerDirection(unsigned char direction); + static unsigned char toServerDirection(unsigned char direction) + A_CONST; protected: /** -- cgit v1.2.3-60-g2f50