Renamed JsonObjectBase::getNestedTokenCounts() into getNestedTokenCount()

This commit is contained in:
Benoit Blanchon
2014-01-11 15:23:08 +01:00
parent 43717bff1e
commit da37162a94
4 changed files with 5 additions and 5 deletions

View File

@ -6,13 +6,13 @@
#include "JsonObjectBase.h"
int JsonObjectBase::getNestedTokenCounts(int tokenIndex)
int JsonObjectBase::getNestedTokenCount(int tokenIndex)
{
int count = 0;
for (int i = 0; i < tokens[tokenIndex].size; i++)
{
count += 1 + getNestedTokenCounts(tokenIndex + 1 + i);
count += 1 + getNestedTokenCount(tokenIndex + 1 + i);
}
return count;