mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Converted JsonArray::copyFrom()/copyTo() to free functions copyArray()
This commit is contained in:
@@ -161,7 +161,7 @@ class ObjectRef : public ObjectRefBase<CollectionData>,
|
||||
_data->clear();
|
||||
}
|
||||
|
||||
FORCE_INLINE bool copyFrom(ObjectConstRef src) {
|
||||
FORCE_INLINE bool set(ObjectConstRef src) {
|
||||
if (!_data || !src._data) return false;
|
||||
return _data->copyFrom(*src._data, _pool);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user