Removed uneeded cast operators

This commit is contained in:
Benoit Blanchon
2014-07-19 15:34:44 +02:00
parent 00ad540f4e
commit a1e8c8800a
2 changed files with 0 additions and 12 deletions

View File

@ -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;
}

View File

@ -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);
}; };