Skip to content

Commit

Permalink
fixup drop chunk allocator
Browse files Browse the repository at this point in the history
  • Loading branch information
mjp41 committed Mar 23, 2022
1 parent 49cee23 commit 37a1ce8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mem/corealloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ namespace snmalloc
bumpptr = slab_end;
}

Metaslab* clear_slab(Metaslab* meta, smallsizeclass_t sizeclass)
void clear_slab(Metaslab* meta, smallsizeclass_t sizeclass)
{
auto& key = entropy.get_free_list_key();
freelist::Iter<> fl;
Expand Down Expand Up @@ -349,7 +349,6 @@ namespace snmalloc
#else
UNUSED(start_of_slab);
#endif
return meta;
}

template<bool check_slabs = false>
Expand Down

0 comments on commit 37a1ce8

Please sign in to comment.