Remove VariantSlot

This commit is contained in:
Benoit Blanchon
2024-08-25 14:45:59 +02:00
parent f7f1b9745d
commit 4327f72140
18 changed files with 35 additions and 60 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ TEST_CASE("ResourceManager::shrinkToFit()") {
REQUIRE(spyingAllocator.log() ==
AllocatorLog{
Allocate(sizeofPool()),
Reallocate(sizeofPool(), sizeof(VariantSlot)),
Reallocate(sizeofPool(), sizeof(VariantData)),
});
}
@@ -50,7 +50,7 @@ TEST_CASE("ResourceManager::shrinkToFit()") {
REQUIRE(spyingAllocator.log() ==
AllocatorLog{
Reallocate(sizeofPool(), sizeof(VariantSlot)),
Reallocate(sizeofPool(), sizeof(VariantData)),
Reallocate(sizeofPoolList(ARDUINOJSON_INITIAL_POOL_COUNT * 2),
sizeofPoolList(ARDUINOJSON_INITIAL_POOL_COUNT + 1)),
});