From f6531b10353dacdcbab211a31926c165211cf3b3 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sat, 7 Feb 2015 02:31:51 +0100 Subject: Unified handling of references to Rtti instances: Now using pointers everywhere --- src/core/common/Variant.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/common/Variant.hpp') diff --git a/src/core/common/Variant.hpp b/src/core/common/Variant.hpp index 76f4506..6eae7e1 100644 --- a/src/core/common/Variant.hpp +++ b/src/core/common/Variant.hpp @@ -929,7 +929,7 @@ public: * to. * @return the value of the variant as array. */ - arrayType toArray(const Rtti &innerType) const; + arrayType toArray(const Rtti *innerType) const; /** * Returns the value of the Variant as map. @@ -946,7 +946,7 @@ public: * to. * @return the value of the variant as map. */ - mapType toMap(const Rtti &innerType) const; + mapType toMap(const Rtti *innerType) const; /** * Returns the value of the Variant as cardinality. @@ -1125,7 +1125,7 @@ public: * or RttiTypes::Function or -- in case an object is stored inside the * variant -- the Rtti of that object. */ - const Rtti &getRtti() const; + const Rtti *getRtti() const; /** * Returns the name of the given variant type as C-style string. -- cgit v1.2.3