Add type confusion protection to the default memory provider.
This commit is contained in:
committed by
David Chisnall
parent
6dbe24da2e
commit
d56201e28d
@@ -19,7 +19,7 @@ namespace snmalloc
|
||||
* required. This avoids a branch on the fast path.
|
||||
*/
|
||||
inline Alloc GlobalPlaceHolder(
|
||||
default_memory_provider, SNMALLOC_DEFAULT_PAGEMAP(), nullptr, true);
|
||||
default_memory_provider(), SNMALLOC_DEFAULT_PAGEMAP(), nullptr, true);
|
||||
|
||||
#ifdef SNMALLOC_EXTERNAL_THREAD_ALLOC
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user