From e9a0eaaef261b99e0a1e605f3c77285eeaa2bddd Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Mon, 12 Jan 2015 00:49:14 +0100 Subject: Fixed Variant::getTypeName not being const --- src/core/common/Variant.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/common/Variant.hpp') 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. -- cgit v1.2.3