Changeset 647 for trunk/lib/AddStats.cc


Ignore:
Timestamp:
Jun 4, 2008, 3:51:36 PM (13 years ago)
Author:
Peter Johansson
Message:

using mem_fun_ref

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/AddStats.cc

    r642 r647  
    3131#include <cassert>
    3232#include <cstdlib>
     33#include <functional>
    3334#include <map>
    3435#include <string>
     
    6162    RevSet revs;
    6263    std::transform(log.commits().begin(), log.commits().end(),
    63                    std::inserter(revs, revs.begin()), GetRevision());
     64                   std::inserter(revs, revs.begin()),
     65                   std::mem_fun_ref(&Commitment::revision));
    6466    for (RevSet::iterator rev_iter=revs.begin();rev_iter!=revs.end();++rev_iter){
    6567      SVNblame svn_blame(path, *rev_iter);
Note: See TracChangeset for help on using the changeset viewer.