Removed uneeded cast operators

This commit is contained in:
Benoit Blanchon committed 2014-07-19 15:34:44 +02:00
1 parent 00ad540f4e
commit a1e8c8800a
2 files changed
-12

No files matched your search

-10
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;
}
-2
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);
}; };