diff options
Diffstat (limited to 'src/qtjsonschema/jsonobjecttypes_impl_p.h')
-rw-r--r-- | src/qtjsonschema/jsonobjecttypes_impl_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qtjsonschema/jsonobjecttypes_impl_p.h b/src/qtjsonschema/jsonobjecttypes_impl_p.h index dfa8918..2b2d386 100644 --- a/src/qtjsonschema/jsonobjecttypes_impl_p.h +++ b/src/qtjsonschema/jsonobjecttypes_impl_p.h @@ -255,8 +255,10 @@ inline void JsonObjectTypes::Value::toNull(bool *ok) const switch (m_type) { case Map: *ok = typeMap() == QJsonValue::Null; + return; case List: *ok = typeList() == QJsonValue::Null; + return; case RootMap: default: Q_ASSERT(false); |