summaryrefslogtreecommitdiff
path: root/src/core/common/Variant.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-12 00:49:14 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-12 00:49:14 +0100
commite9a0eaaef261b99e0a1e605f3c77285eeaa2bddd (patch)
treec182fbb921a2c0c6ecb8d22e22e966f4adbce595 /src/core/common/Variant.hpp
parent874a2a6c9a1f5196c65850cd67cfd6992ff0c95e (diff)
Fixed Variant::getTypeName not being const
Diffstat (limited to 'src/core/common/Variant.hpp')
-rw-r--r--src/core/common/Variant.hpp2
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.