diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-07 02:31:51 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-07 02:31:51 +0100 |
commit | f6531b10353dacdcbab211a31926c165211cf3b3 (patch) | |
tree | b0c6508bb58b5a34e4b4f8007af5af44fd38aca1 /src/core/common/VariantConverter.hpp | |
parent | 6b3b2f5965e5dfb2000bb9c23f11a83e175741de (diff) |
Unified handling of references to Rtti instances: Now using pointers everywhere
Diffstat (limited to 'src/core/common/VariantConverter.hpp')
-rw-r--r-- | src/core/common/VariantConverter.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); }; } |