mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 16:14:19 +01:00
Simplified JsonVariant::as<T>() to always return T
This commit is contained in:
@@ -65,7 +65,7 @@ class ElementProxy : public VariantOperators<ElementProxy<TArray> >,
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
FORCE_INLINE typename VariantAs<T>::type as() const {
|
||||
FORCE_INLINE T as() const {
|
||||
return getUpstreamElement().template as<T>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user