Ignore:
Timestamp:
Jul 7, 2010, 8:19:22 PM (13 years ago)
Author:
Peter
Message:

refs #635. fix return type (int) in compare_3way and add some more test for Segment.

File:
1 edited

Legend:

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

    r2293 r2294  
    113113   */
    114114  template<typename T, class Compare>
    115   bool compare_3way(const Segment<T, Compare>& lhs,
     115  int compare_3way(const Segment<T, Compare>& lhs,
    116116                    const Segment<T, Compare>& rhs)
    117117  {
     
    132132   */
    133133  template<typename T, class Compare>
    134   bool compare_3way(const T& lhs,
    135                     const Segment<T, Compare>& rhs)
     134  int compare_3way(const T& lhs,
     135                   const Segment<T, Compare>& rhs)
    136136  {
    137137    Compare comp;
Note: See TracChangeset for help on using the changeset viewer.