diff --git a/JsonGenerator/JsonArrayBase.h b/JsonGenerator/JsonArrayBase.h index 54d44d68..b01f7f97 100644 --- a/JsonGenerator/JsonArrayBase.h +++ b/JsonGenerator/JsonArrayBase.h @@ -43,7 +43,7 @@ namespace ArduinoJson private: Internals::JsonValue* items; - int count, capacity; + int capacity, count; }; } } \ No newline at end of file diff --git a/JsonGenerator/JsonHashTableBase.h b/JsonGenerator/JsonHashTableBase.h index 1a577af4..61fa22d8 100644 --- a/JsonGenerator/JsonHashTableBase.h +++ b/JsonGenerator/JsonHashTableBase.h @@ -55,8 +55,7 @@ namespace ArduinoJson private: KeyValuePair* items; - int count; - int capacity; + int capacity, count; }; } } \ No newline at end of file