Reduced the size of JsonArrayBase::printTo() by 18 bytes

This commit is contained in:
Benoît Blanchon
2014-07-09 13:40:09 +02:00
parent 4e61a839a5
commit 0045bb3e35
2 changed files with 11 additions and 6 deletions

View File

@ -15,7 +15,7 @@ size_t JsonHashTableBase::printTo(Print& p) const
// NB: the code has been optimized for a small size on a 8-bit AVR
KeyValuePair* current = items;
const KeyValuePair* current = items;
for (int i = count; i > 0; i--)
{
n += current->key.printTo(p);