Changeset 80 for trunk/lib/Stats.h


Ignore:
Timestamp:
Mar 10, 2006, 5:52:04 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Removed nasty bug: svnstat crashed when the last checkin contained zero statistics
count items only, eg. empty directories or binary files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Stats.h

    r74 r80  
    2222    /// @brief Default Constructor
    2323    ///
    24     inline Stats(void) {}
     24    explicit Stats(const std::string& path);
    2525
    2626    ///
     
    7070    void add(const std::string& user, const u_int& revision);
    7171
    72     static u_int latest_revision_; // latest revision for whole project
     72
     73    u_int latest_revision_; // Should be the latest revision for whole project
    7374
    7475    // Peter, if the vector is sparse make it a map
Note: See TracChangeset for help on using the changeset viewer.