mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-02 01:34:38 +03:00
fix build error on Ubuntu
This commit is contained in:
parent
86757dfbd6
commit
4022df8085
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ static mi_decl_noinline void mi_page_free_list_extend( mi_page_t* const page, co
|
||||||
// Note: we also experimented with "bump" allocation on the first
|
// Note: we also experimented with "bump" allocation on the first
|
||||||
// allocations but this did not speed up any benchmark (due to an
|
// allocations but this did not speed up any benchmark (due to an
|
||||||
// extra test in malloc? or cache effects?)
|
// extra test in malloc? or cache effects?)
|
||||||
static mi_decl_nodiscard bool mi_page_extend_free(mi_heap_t* heap, mi_page_t* page) {
|
static bool mi_page_extend_free(mi_heap_t* heap, mi_page_t* page) {
|
||||||
mi_assert_expensive(mi_page_is_valid_init(page));
|
mi_assert_expensive(mi_page_is_valid_init(page));
|
||||||
#if (MI_SECURE<3)
|
#if (MI_SECURE<3)
|
||||||
mi_assert(page->free == NULL);
|
mi_assert(page->free == NULL);
|
||||||
|
|
Loading…
Add table
Reference in a new issue