summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/common/VariantConverter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/common/VariantConverter.cpp b/src/core/common/VariantConverter.cpp
index ff7c5a1..29b4ef3 100644
--- a/src/core/common/VariantConverter.cpp
+++ b/src/core/common/VariantConverter.cpp
@@ -544,6 +544,8 @@ bool VariantConverter::convert(Variant &var, const Rtti &type,
return toArray(var, innerType, logger, mode);
} else if (&type == &RttiTypes::Map) {
return toMap(var, innerType, logger, mode);
+ } else if (&type == &RttiTypes::Cardinality) {
+ return toCardinality(var, logger, mode);
} else if (&type == &RttiTypes::Function) {
return toFunction(var, logger);
}