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

@@ -146,7 +146,7 @@ class BasicJsonDocument : AllocatorOwner<TAllocator>, public JsonDocument {
}
void freePool() {
this->deallocate(memoryPool().buffer());
this->deallocate(getPool()->buffer());
}
void copyAssignFrom(const JsonDocument& src) {