From 2e5b959e8b0cc45347eb66513f66f32f09c6221a Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Mon, 14 Jul 2014 16:13:58 +0200 Subject: [PATCH] Fixed GCC warnings --- JsonGenerator/JsonArrayBase.h | 2 +- JsonGenerator/JsonHashTableBase.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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