Replace C++11 syntax that what not supported by the Arduino IDE

This commit is contained in:
Benoît Blanchon
2014-07-02 13:49:23 +02:00
parent e87bde6594
commit c7fb77203b

View File

@ -40,8 +40,10 @@ public:
content.asLong = value;
}
JsonValue(int value) : JsonValue((long) value)
{
JsonValue(int value)
: implementation(&JsonValue::printLongTo)
{
content.asLong = value;
}
JsonValue(Printable& value)