mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Attach copy policy to string adapters
This commit is contained in:
@@ -61,6 +61,10 @@ class FlashString {
|
||||
::memcpy_P(p, s._str, n);
|
||||
}
|
||||
|
||||
CopyStringStoragePolicy storagePolicy() {
|
||||
return CopyStringStoragePolicy();
|
||||
}
|
||||
|
||||
private:
|
||||
const char* _str;
|
||||
size_t _size;
|
||||
|
||||
Reference in New Issue
Block a user