Ignore:
Timestamp:
Feb 14, 2008, 3:26:19 PM (13 years ago)
Author:
Peter
Message:

Closes #247. Removed IteratorWeighted? iterators over weighted container instead can use Iterator with a special Policy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/statistics/AveragerPairWeighted.h

    r1043 r1088  
    149149  {
    150150    for ( ; first1 != last1; ++first1, ++first2) {
    151       ap.add(utility::iterator_traits_data(first1),
    152              utility::iterator_traits_data(first2),
    153              utility::iterator_traits_weight(first1),
    154              utility::iterator_traits_weight(first2));
     151      ap.add(utility::iterator_traits<Iter1>().data(first1),
     152             utility::iterator_traits<Iter2>().data(first2),
     153             utility::iterator_traits<Iter1>().weight(first1),
     154             utility::iterator_traits<Iter2>().weight(first2));
    155155    }
    156156  }
Note: See TracChangeset for help on using the changeset viewer.