From ee6d8c10ce3f7570a47c6042c36da3c8566364a7 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sat, 14 Jan 2017 12:03:50 +0100 Subject: [PATCH] Fix missing const in ServerActiveObject::getStaticData This fixes #5033 Signed-off-by: Loic Blot --- src/serverobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serverobject.h b/src/serverobject.h index 26c8b062d..38204980e 100644 --- a/src/serverobject.h +++ b/src/serverobject.h @@ -119,7 +119,7 @@ public: when it is created (converted from static to active - actually the data is the static form) */ - virtual void getStaticData(std::string *result) + virtual void getStaticData(std::string *result) const { assert(isStaticAllowed()); *result = "";