Made EscapedString pure static

This commit is contained in:
Benoit Blanchon
2014-08-01 15:32:05 +02:00
parent 158f4600fb
commit 09294cb5e6
4 changed files with 3 additions and 18 deletions

View File

@ -14,20 +14,6 @@ namespace ArduinoJson
class EscapedString
{
public:
EscapedString(const char* s)
: rawString(s)
{
}
size_t printTo(Print& p) const
{
return printTo(rawString, p);
}
private:
const char* rawString;
static size_t printTo(const char*, Print&);
};
}