Changeset 532 for trunk/lib/File.cc


Ignore:
Timestamp:
Dec 26, 2007, 2:47:03 AM (14 years ago)
Author:
Peter Johansson
Message:

Node holds a StatsCollection? rather than a Stats object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.cc

    r528 r532  
    189189
    190190
    191   const ClassicStats& File::parse(const bool verbose)
     191  const StatsCollection& File::parse(const bool verbose)
    192192  {
    193193    if (verbose)
     
    202202      }
    203203    }
    204     stats_.reset();
    205     stats_.parse(path_);
    206204    if (!node_exist(cache_dir))
    207205      mkdir(cache_dir);
     
    235233    if (GnuplotFE::instance()->dates().empty()){
    236234      using_dates=false;
    237       last = stats_.revision();
     235      last = stats_["classic"].revision();
    238236    }
    239237    else {
     
    329327    os << "../../../";
    330328    if (user=="all")
    331       os << stats_.plot(imagefile,line_type);
     329      os << stats_[stats_type].plot(imagefile,line_type);
    332330    else
    333331      os << imagefile;
    334332    os << "' alt='[plot]' />\n</p>";
    335333
    336     print_author_summary(os, line_type, log);
     334    print_author_summary(os, stats_[stats_type], line_type, log);
    337335    os << "\n";
    338336
Note: See TracChangeset for help on using the changeset viewer.