mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
MemberProxy.link()
This commit is contained in:
@@ -113,6 +113,10 @@ class MemberProxy : public VariantOperators<MemberProxy<TObject, TStringRef> >,
|
||||
getUpstreamMember().remove(key);
|
||||
}
|
||||
|
||||
FORCE_INLINE void link(VariantConstRef value) {
|
||||
getOrAddUpstreamMember().link(value);
|
||||
}
|
||||
|
||||
template <typename TValue>
|
||||
FORCE_INLINE typename VariantTo<TValue>::type to() {
|
||||
return getOrAddUpstreamMember().template to<TValue>();
|
||||
|
||||
Reference in New Issue
Block a user