Test size() after calling CreateObject

This commit is contained in:
Benoit Blanchon
2014-09-27 10:16:30 +02:00
parent 6e45f7c790
commit bb887f94e7
3 changed files with 17 additions and 0 deletions

View File

@ -14,6 +14,8 @@ public:
virtual ~StaticJsonBuffer() {}
/*JsonObject*/void createObject() { _size++; }
int capacity()
{
return CAPACITY;