diff options
-rw-r--r-- | src/core/common/Variant.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/common/Variant.hpp b/src/core/common/Variant.hpp index 6bd5160..27dfda8 100644 --- a/src/core/common/Variant.hpp +++ b/src/core/common/Variant.hpp @@ -951,7 +951,7 @@ public: /** * Returns the name of the type of this variant instance. */ - const char *getTypeName() { return Variant::getTypeName(getType()); } + const char *getTypeName() const { return Variant::getTypeName(getType()); } /* * Output stream operator. |