mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-18 13:02:25 +02: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