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

@@ -47,6 +47,10 @@ class ElementProxy : public VariantOperators<ElementProxy<TArray> >,
return *this;
}
FORCE_INLINE void clear() const {
getUpstreamElement().clear();
}
FORCE_INLINE bool isNull() const {
return getUpstreamElement().isNull();
}