Changeset 4073


Ignore:
Timestamp:
Aug 20, 2021, 7:42:58 AM (4 months ago)
Author:
Peter
Message:

delete erased node

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kendall-score/yat/utility/Ranking.h

    r4072 r4073  
    778778
    779779    impl_.erase_and_rebalance(node);
    780     // FIXME we need to delete the node, but be careful to not delete
    781     // any of ots children; perhaps const_cast first?
     780    delete node;
    782781    YAT_ASSERT(validate());
    783782    return;
Note: See TracChangeset for help on using the changeset viewer.