Changeset 1031 for branches


Ignore:
Timestamp:
Feb 15, 2010, 5:45:41 AM (11 years ago)
Author:
Peter Johansson
Message:

fixes #441

Location:
branches/0.7-stable/lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/0.7-stable/lib/BlameStats.cc

    r1000 r1031  
    118118
    119119
    120   unsigned int BlameStats::max_element(const std::vector<unsigned int>& v) const
    121   {
    122     assert(v.size());
    123     return v.back();
    124   }
    125 
    126120}} // end of namespace svndigest and namespace theplu
  • branches/0.7-stable/lib/BlameStats.h

    r1000 r1031  
    4646    void do_parse(const std::string&, svn_revnum_t);
    4747    void fill_in(Author2Vector&, svn_revnum_t rev);
    48     unsigned int max_element(const std::vector<unsigned int>&) const;
    4948
    5049  };
  • branches/0.7-stable/lib/ClassicStats.cc

    r847 r1031  
    7474
    7575
     76  unsigned int
     77  ClassicStats::max_element(const std::vector<unsigned int>& v) const
     78  {
     79    assert(v.size());
     80    return v.back();
     81  }
     82
    7683}} // end of namespace svndigest and namespace theplu
  • branches/0.7-stable/lib/ClassicStats.h

    r847 r1031  
    4444  private:
    4545    void do_parse(const std::string&, svn_revnum_t);
     46    unsigned int max_element(const std::vector<unsigned int>&) const;
    4647
    4748  };
Note: See TracChangeset for help on using the changeset viewer.