Ignore:
Timestamp:
Mar 5, 2024, 9:55:04 AM (3 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
af60383
Parents:
9262fe9
Message:

Removed casts around get_next (also replaced with direct field access) that are no longer needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ExpressionNode.h

    r9262fe9 r44adf1b  
    2626                if ( nullptr == expr ) return nullptr;
    2727                ExpressionNode * node = new ExpressionNode( ast::shallowCopy( expr.get() ) );
    28                 node->set_next( maybeCopy( get_next() ) );
     28                node->next = maybeCopy( next );
    2929                return node;
    3030        }
Note: See TracChangeset for help on using the changeset viewer.