fix accidental generation of cxListIterator() symbol

Thu, 28 Dec 2023 19:17:45 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 28 Dec 2023 19:17:45 +0100
changeset 776
874cc78cdffd
parent 775
d3f451440eef
child 777
e5b29e6f0615

fix accidental generation of cxListIterator() symbol

src/list.c file | annotate | diff | comparison | revisions
--- a/src/list.c	Wed Dec 27 17:28:33 2023 +0100
+++ b/src/list.c	Thu Dec 28 19:17:45 2023 +0100
@@ -295,8 +295,8 @@
     ) {
         // lists are definitely different - cannot use internal compare function
         if (list->size == other->size) {
-            CxIterator left = cxListIterator(list);
-            CxIterator right = cxListIterator(other);
+            CxIterator left = list->cl->iterator(list, 0, false);
+            CxIterator right = other->cl->iterator(list, 0, false);
             for (size_t i = 0; i < list->size; i++) {
                 void *leftValue = cxIteratorCurrent(left);
                 void *rightValue = cxIteratorCurrent(right);

mercurial