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/VariantConverter.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/common/VariantConverter.hpp') diff --git a/src/core/common/VariantConverter.hpp b/src/core/common/VariantConverter.hpp index 92cc40a..26278eb 100644 --- a/src/core/common/VariantConverter.hpp +++ b/src/core/common/VariantConverter.hpp @@ -161,7 +161,7 @@ public: * @return true if the operation was successful, false otherwise. In any * case the input/output parameter "var" will have the requested type. */ - static bool toArray(Variant &var, const Rtti &innerType, Logger &logger, + static bool toArray(Variant &var, const Rtti *innerType, Logger &logger, Mode mode = Mode::SAFE); /** @@ -180,7 +180,7 @@ public: * @return true if the operation was successful, false otherwise. In any * case the input/output parameter "var" will have the requested type. */ - static bool toMap(Variant &var, const Rtti &innerType, Logger &logger, + static bool toMap(Variant &var, const Rtti *innerType, Logger &logger, Mode mode = Mode::SAFE); /** @@ -242,7 +242,7 @@ public: * @return true if the operation was successful, false otherwise. In any * case the input/output parameter "var" will have the requested type. */ - static bool convert(Variant &var, const Rtti &type, const Rtti &innerType, + static bool convert(Variant &var, const Rtti *type, const Rtti *innerType, Logger &logger, Mode mode = Mode::SAFE); /** @@ -261,7 +261,7 @@ public: * @return true if the operation was successful, false otherwise. In any * case the input/output parameter "var" will have the requested type. */ - static bool convert(Variant &var, const Rtti &type, Logger &logger, + static bool convert(Variant &var, const Rtti *type, Logger &logger, Mode mode = Mode::SAFE); }; } -- cgit v1.2.3