diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-01-14 12:03:50 +0100 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-01-14 12:03:50 +0100 |
commit | ee6d8c10ce3f7570a47c6042c36da3c8566364a7 (patch) | |
tree | 7f1882763154babef57224411003e472bef440a3 /src/serverobject.h | |
parent | 80023660979e19b3607fdfb573adb76cb60da5f1 (diff) | |
download | minetest-ee6d8c10ce3f7570a47c6042c36da3c8566364a7.tar.gz minetest-ee6d8c10ce3f7570a47c6042c36da3c8566364a7.tar.bz2 minetest-ee6d8c10ce3f7570a47c6042c36da3c8566364a7.zip |
Fix missing const in ServerActiveObject::getStaticData
This fixes #5033
Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
Diffstat (limited to 'src/serverobject.h')
-rw-r--r-- | src/serverobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 = ""; |