src/list.c

changeset 776
874cc78cdffd
parent 764
ccbdbd088455
child 802
30473af255b4
     1.1 --- a/src/list.c	Wed Dec 27 17:28:33 2023 +0100
     1.2 +++ b/src/list.c	Thu Dec 28 19:17:45 2023 +0100
     1.3 @@ -295,8 +295,8 @@
     1.4      ) {
     1.5          // lists are definitely different - cannot use internal compare function
     1.6          if (list->size == other->size) {
     1.7 -            CxIterator left = cxListIterator(list);
     1.8 -            CxIterator right = cxListIterator(other);
     1.9 +            CxIterator left = list->cl->iterator(list, 0, false);
    1.10 +            CxIterator right = other->cl->iterator(list, 0, false);
    1.11              for (size_t i = 0; i < list->size; i++) {
    1.12                  void *leftValue = cxIteratorCurrent(left);
    1.13                  void *rightValue = cxIteratorCurrent(right);

mercurial