src/list.c

changeset 1605
55b13f583356
parent 1604
68b75c091028
--- a/src/list.c	Sun Dec 14 16:21:09 2025 +0100
+++ b/src/list.c	Sun Dec 14 17:30:17 2025 +0100
@@ -512,12 +512,11 @@
     struct cx_list_s *list,
     struct cx_list_class_s *cl,
     const struct cx_allocator_s *allocator,
-    cx_compare_func comparator,
     size_t elem_size
 ) {
     list->cl = cl;
     list->collection.allocator = allocator;
-    list->collection.cmpfunc = comparator;
+    list->collection.cmpfunc = NULL;
     if (elem_size > 0) {
         list->collection.elem_size = elem_size;
     } else {

mercurial