mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-06 23:39:31 +03:00
avoid unused warning
This commit is contained in:
parent
da1d64f05a
commit
a7c033caed
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ mi_decl_nodiscard mi_decl_restrict void* mi_heap_malloc_aligned(mi_heap_t* heap,
|
||||||
|
|
||||||
// ensure a definition is emitted
|
// ensure a definition is emitted
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
static void* _mi_heap_malloc_aligned = (void*)&mi_heap_malloc_aligned;
|
void* _mi_extern_heap_malloc_aligned = (void*)&mi_heap_malloc_aligned;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ------------------------------------------------------
|
// ------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue