forked from bblanchon/ArduinoJson
Fix no instance of overloaded function...
on IAR (fixes #2001)
This commit is contained in:
@ -6,6 +6,7 @@ HEAD
|
|||||||
|
|
||||||
* Fix error `'std::string' has not been declared` (issue #1967)
|
* Fix error `'std::string' has not been declared` (issue #1967)
|
||||||
* Fix error `'std::string_view' has not been declared` (issue #1967)
|
* Fix error `'std::string_view' has not been declared` (issue #1967)
|
||||||
|
* Fix error `no instance of overloaded function...` on recent IAR compilers (issue #2001)
|
||||||
|
|
||||||
v6.21.3 (2023-07-23)
|
v6.21.3 (2023-07-23)
|
||||||
-------
|
-------
|
||||||
|
@ -61,7 +61,8 @@ class VariantRefBase : public VariantTag {
|
|||||||
return Converter<T>::fromJson(getVariant());
|
return Converter<T>::fromJson(getVariant());
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T,
|
||||||
|
typename = typename enable_if<!is_same<T, TDerived>::value>::type>
|
||||||
FORCE_INLINE operator T() const {
|
FORCE_INLINE operator T() const {
|
||||||
return as<T>();
|
return as<T>();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user