Changeset 112 for trunk/lib/Stats.h


Ignore:
Timestamp:
Jun 29, 2006, 11:30:54 AM (15 years ago)
Author:
Peter Johansson
Message:

fixes #27 and added some beauty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Stats.h

    r101 r112  
    4747
    4848    ///
     49    ///
     50    ///
     51    inline u_int last_changed_rev(void) const { return last_changed_rev_; }
     52
     53    ///
    4954    /// @return true if file is binary
    5055    ///
     
    6065    ///
    6166    inline void reset(void) { map_.clear(); }
     67
     68    ///
     69    ///
     70    ///
     71    inline u_int revision(void) const { return revision_; }
    6272
    6373    ///
     
    93103
    94104
    95     u_int latest_revision_; // Should be the latest revision for whole project
     105    u_int revision_; // Should be the latest revision for whole project
     106    u_int last_changed_rev_; // Should be the latest revision for file
    96107
    97108    // Peter, if the vector is sparse make it a map
Note: See TracChangeset for help on using the changeset viewer.