Skip to content
  • Artur Ryt's avatar
    cmAlgorithms: Refactor cmRemoveDuplicates · bf1e7330
    Artur Ryt authored and Brad King's avatar Brad King committed
    Use an iterator-based implementation with range-based one simply
    deferring to it.
    
    Also optimize a little by storing iterators to unique values to prevent
    creating value copies.
    bf1e7330