forked from bblanchon/ArduinoJson
Removed uneeded cast operators
This commit is contained in:
1 parent
00ad540f4e
commit
a1e8c8800a
2 files changed
-12
No files matched your search
@@ -52,14 +52,4 @@ JsonValue::operator long()
|
||||
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