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/BlameStats.cc

    r642 r647  
    3636#include <cstdlib>
    3737#include <fstream>
     38#include <functional>
    3839#include <iostream>
    3940#include <iterator>
     
    8384    RevSet revs;
    8485    std::transform(log.commits().begin(), log.commits().end(),
    85                    std::inserter(revs, revs.begin()), GetRevision());
     86                   std::inserter(revs, revs.begin()),
     87                   std::mem_fun_ref(&Commitment::revision));
    8688    for (RevSet::iterator rev_iter=revs.begin();rev_iter!=revs.end();++rev_iter){
    8789      SVNblame svn_blame(path, *rev_iter);
Note: See TracChangeset for help on using the changeset viewer.