Remove JsonDocument::data() and JsonDocument::memoryPool()

This commit is contained in:
Benoit Blanchon
2022-08-09 10:33:19 +02:00
parent 1d21027e2a
commit 62e83133cd
10 changed files with 33 additions and 37 deletions

View File

@@ -10,7 +10,7 @@ namespace ARDUINOJSON_NAMESPACE {
class StringCopier {
public:
StringCopier(MemoryPool& pool) : _pool(&pool) {}
StringCopier(MemoryPool* pool) : _pool(pool) {}
void startString() {
_pool->getFreeZone(&_ptr, &_capacity);