forked from bblanchon/ArduinoJson
Replaced public inheritance by protected and private
This commit is contained in:
@ -33,16 +33,14 @@ namespace ArduinoJson
|
||||
return json + token->start;
|
||||
}
|
||||
|
||||
// TODO: should be protected
|
||||
JsonToken firstChild() const
|
||||
{
|
||||
return JsonToken(json, token + 1);
|
||||
}
|
||||
|
||||
// TODO: should be protected
|
||||
JsonToken nextSibling() const;
|
||||
|
||||
bool operator!= (const JsonToken& other)
|
||||
bool operator!= (const JsonToken& other) const
|
||||
{
|
||||
return token != other.token;
|
||||
}
|
||||
@ -52,8 +50,6 @@ namespace ArduinoJson
|
||||
return JsonToken(0, 0);
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
bool isValid()
|
||||
{
|
||||
return token != 0;
|
||||
|
Reference in New Issue
Block a user