mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 08:48:30 +01:00
Simplified JsonVariant::as<T>() to always return T
This commit is contained in:
@@ -82,7 +82,7 @@ class MemberProxy : public VariantOperators<MemberProxy<TObject, TStringRef> >,
|
||||
}
|
||||
|
||||
template <typename TValue>
|
||||
FORCE_INLINE typename VariantAs<TValue>::type as() const {
|
||||
FORCE_INLINE TValue as() const {
|
||||
return getUpstreamMember().template as<TValue>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user