mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Renamed JsonVariant::invalid<T>() to JsonVariant::defaultValue<T>()
This commit is contained in:
@@ -41,11 +41,6 @@ inline JsonVariant::JsonVariant(JsonObject &object) {
|
||||
_content.asObject = &object;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline T JsonVariant::invalid() {
|
||||
return T();
|
||||
}
|
||||
|
||||
inline Internals::JsonInteger JsonVariant::asInteger() const {
|
||||
using namespace Internals;
|
||||
switch (_type) {
|
||||
|
||||
Reference in New Issue
Block a user