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
     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