Fix a memleak pointed by @Zeno- in MeshUpdateQueue
[oweals/minetest.git] / src / serverobject.h
index 26c8b062d61f63a2e28245acc2a5f89357f810ca..38204980e439b57beda6722863a6d16d73166c97 100644 (file)
@@ -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 = "";