forked from bblanchon/ArduinoJson
Fixed copyArray()
not working with String
This commit is contained in:
@ -74,7 +74,7 @@ inline size_t copyArray(ArrayConstRef src, T* dst, size_t len) {
|
||||
size_t i = 0;
|
||||
for (ArrayConstRef::iterator it = src.begin(); it != src.end() && i < len;
|
||||
++it)
|
||||
dst[i++] = *it;
|
||||
dst[i++] = it->as<T>();
|
||||
return i;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user