mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 08:48:30 +01:00
Removed uneeded cast operators
This commit is contained in:
@@ -53,13 +53,3 @@ JsonValue::operator char*()
|
|||||||
{
|
{
|
||||||
return isString() || isPrimitive() ? getText() : 0;
|
return isString() || isPrimitive() ? getText() : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
JsonValue::operator JsonArray()
|
|
||||||
{
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
JsonValue::operator JsonObject()
|
|
||||||
{
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
@@ -48,8 +48,6 @@ namespace ArduinoJson
|
|||||||
operator double();
|
operator double();
|
||||||
operator long();
|
operator long();
|
||||||
operator char*();
|
operator char*();
|
||||||
operator JsonArray();
|
|
||||||
operator JsonObject();
|
|
||||||
JsonValue operator[](int index);
|
JsonValue operator[](int index);
|
||||||
JsonValue operator[](const char*key);
|
JsonValue operator[](const char*key);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user