Ignore:
Timestamp:
Apr 25, 2025, 7:39:09 AM (5 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
65bd3c2
Parents:
b195498
Message:

change backquote call to regular call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/queue.hfa

    rb195498 r6b33e89  
    2424                Queue(T) & ?=?( const Queue(T) & ) = void;              // no assignment
    2525
    26                 void ?{}( Queue(T) & q ) with( q ) {
     26                void ?{}( Queue(T) & q ) {
    2727                        ((Collection &)q){};
    28                         last = 0p;
     28                        q.last = 0p;
    2929                } // post: empty()
    3030
    31                 T & tail( Queue(T) & q ) with( q ) {
    32                         return *last;
     31                T & tail( Queue(T) & q ) {
     32                        return *q.last;
    3333                }
    3434
     
    4646                        if ( listed( &n ) ) abort( "(Queue &)%p.addHead( %p ) : Node is already on another list.", &q, &n );
    4747                        #endif // __CFA_DEBUG__
    48                         if ( last ) {
     48                        if ( q.last ) {
    4949                                Next( &n ) = &head( q );
    5050                                q.root = &n;
     
    6060                        if ( listed( &n ) ) abort( "(Queue &)%p.addTail( %p ) : Node is already on another list.", &q, &n );
    6161                        #endif // __CFA_DEBUG__
    62                         if ( last ) Next( last ) = &n;
     62                        if ( q.last ) Next( last ) = &n;
    6363                        else root = &n;
    6464                        last = &n;
Note: See TracChangeset for help on using the changeset viewer.