fix test_uniq_skiplist.c compile error

pull/37/merge
YuQing 2021-12-16 09:44:16 +08:00
parent f6c5256264
commit fdb6bfb233
1 changed files with 2 additions and 1 deletions

View File

@ -261,6 +261,7 @@ static void test_reverse_iterator()
int main(int argc, char *argv[])
{
const bool allocator_use_lock = false;
int result;
int64_t start_time;
int64_t end_time;
@ -273,7 +274,7 @@ int main(int argc, char *argv[])
fast_mblock_manager_init();
result = uniq_skiplist_init_ex2(&factory, LEVEL_COUNT, compare_func,
free_test_func, 0, MIN_ALLOC_ONCE, 0, true);
free_test_func, 0, MIN_ALLOC_ONCE, 0, true, allocator_use_lock);
if (result != 0) {
return result;
}