Added JsonVariant::clear()

This commit is contained in:
Benoit Blanchon
2019-02-25 11:44:22 +01:00
parent e22e62d184
commit bc2ce178ea
10 changed files with 99 additions and 0 deletions

View File

@@ -49,6 +49,10 @@ class MemberProxy : public VariantOperators<MemberProxy<TObject, TStringRef> >,
return *this;
}
FORCE_INLINE void clear() const {
getUpstreamMember().clear();
}
FORCE_INLINE bool isNull() const {
return getUpstreamMember().isNull();
}