Changed naming convention to avoid shadowing (issue #25)

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

No files matched your search

+3 -3
View File
@@ -9,9 +9,9 @@ using namespace ArduinoJson::Internals;
size_t StringBuilder::write(uint8_t c)
{
if (length >= capacity) return 0;
if (_length >= _capacity) return 0;
buffer[length++] = c;
buffer[length] = 0;
_buffer[_length++] = c;
_buffer[_length] = 0;
return 1;
}