Fix missing const in ServerActiveObject::getStaticData
authorLoic Blot <loic.blot@unix-experience.fr>
Sat, 14 Jan 2017 11:03:50 +0000 (12:03 +0100)
committerLoic Blot <loic.blot@unix-experience.fr>
Sat, 14 Jan 2017 11:03:50 +0000 (12:03 +0100)
This fixes #5033

Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
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 = "";