mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 08:48:30 +01:00
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