Changeset 2292


Ignore:
Timestamp:
Jul 7, 2010, 6:32:54 PM (11 years ago)
Author:
Peter
Message:

always use Compare functor in Segment (not std::less)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/SegmentSet.h

    r2291 r2292  
    235235    --p.second;
    236236    const_cast<value_type&>(*p.first).end() =
    237       std::max(p.second->end(), segment.end());
     237      std::max(p.second->end(), segment.end(), comp);
    238238    ++p.second;
    239239    iterator begin(p.first);
Note: See TracChangeset for help on using the changeset viewer.