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