Add type confusion protection to the default memory provider.
This commit is contained in:
committed by
David Chisnall
parent
6dbe24da2e
commit
d56201e28d
@@ -38,7 +38,7 @@ namespace snmalloc
|
||||
|
||||
static AllocPool* make() noexcept
|
||||
{
|
||||
return make(default_memory_provider);
|
||||
return AllocPool::make(default_memory_provider());
|
||||
}
|
||||
|
||||
Alloc* acquire()
|
||||
|
||||
Reference in New Issue
Block a user