From: Loic Blot Date: Sat, 14 Jan 2017 11:03:50 +0000 (+0100) Subject: Fix missing const in ServerActiveObject::getStaticData X-Git-Tag: 0.4.16~526 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ee6d8c10ce3f7570a47c6042c36da3c8566364a7;p=oweals%2Fminetest.git Fix missing const in ServerActiveObject::getStaticData This fixes #5033 Signed-off-by: Loic Blot --- 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 = "";