diff --git a/src/mem/corealloc.h b/src/mem/corealloc.h index 0097b12..8c34844 100644 --- a/src/mem/corealloc.h +++ b/src/mem/corealloc.h @@ -146,9 +146,8 @@ namespace snmalloc { // Manufacture an allocation to prime the queue // Using an actual allocation removes a conditional from a critical path. - auto dummy = - CapPtr(small_alloc_one(sizeof(MIN_ALLOC_SIZE))) - .template as_static(); + auto dummy = CapPtr(small_alloc_one(MIN_ALLOC_SIZE)) + .template as_static(); if (dummy == nullptr) { error("Critical error: Out-of-memory during initialisation.");