Update example.

This commit is contained in:
Christoffer Lerno
2025-03-18 15:41:37 +01:00
parent 84753bde6d
commit cfc87a9d66

View File

@@ -70,7 +70,7 @@ fn void main()
{
const String[] URLS = { "good", "title-empty", "title-missing", "head-missing", "fail" };
DynamicArenaAllocator dynamic_arena;
dynamic_arena.init(1024, allocator::heap());
dynamic_arena.init(mem, 1024);
OutStream out = io::stdout();
foreach (String url : URLS)
{