Changed naming convention to avoid shadowing (issue #25)

This commit is contained in:
Benoit Blanchon
2014-09-28 13:36:41 +02:00
parent cc19266470
commit ce788d96c4
19 changed files with 147 additions and 148 deletions

View File

@ -19,7 +19,7 @@ namespace ArduinoJson
// Create a JSON parser using the provided buffer
JsonParserBase(jsmntok_t* tokens, int maxTokens)
: tokens(tokens), maxTokens(maxTokens)
: _tokens(tokens), _maxTokens(maxTokens)
{
}
@ -42,8 +42,8 @@ namespace ArduinoJson
}
private:
jsmntok_t* tokens;
int maxTokens;
jsmntok_t* _tokens;
int _maxTokens;
};
}
}