avoid misuse

This commit is contained in:
J. Nick Koston
2026-01-29 18:23:25 -06:00
parent 2b1783ce61
commit 5fbd9d5b14
2 changed files with 9 additions and 7 deletions

View File

@@ -114,7 +114,7 @@ SerializationBuffer<> JsonBuilder::serialize() {
}
// Needs heap allocation - reallocate and serialize again with exact size
result.reallocate_heap(size);
result.reallocate_heap_(size);
serializeJson(doc_, result.data_writable(), size + 1);
return result;
}