Added StaticJsonDocument::garbageCollect()

This commit is contained in:
Benoit Blanchon
2020-03-02 14:50:16 +01:00
parent 0853b04589
commit 735bea1f47
4 changed files with 19 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ HEAD
* Fixed incorrect string comparison on some platforms (issue #1198)
* Added move-constructor and move-assignment to `BasicJsonDocument`
* Added `BasicJsonDocument::garbageCollect()` (issue #1195)
* Added `StaticJsonDocument::garbageCollect()`
* Changed copy-constructor of `BasicJsonDocument` to preserve the capacity of the source.
> ### BREAKING CHANGES