فهرست منبع

Added a work around for Arduino 1.0.5

Benoît Blanchon 11 سال پیش
والد
کامیت
f28997e367
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      JsonGenerator/JsonArray.h

+ 2 - 1
JsonGenerator/JsonArray.h

@@ -39,7 +39,8 @@ namespace ArduinoJson
             {
                 if (itemCount >= N) return;
 
-                items[itemCount++].set<DIGITS>(value);
+                Internals::JsonValue& v = items[itemCount++];
+                v.set<DIGITS>(value);
             }
 
             using JsonObjectBase::printTo;