Changeset 486 for branches/0.6-stable


Ignore:
Timestamp:
Oct 14, 2007, 12:10:33 AM (16 years ago)
Author:
Peter Johansson
Message:

fixes #272 - possibly double counting in main (sometimes)

Location:
branches/0.6-stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.6-stable/bin/svndigest.cc

    r430 r486  
    143143  if (option->verbose())
    144144    std::cout << "Parsing directory tree" << std::endl;
    145   Stats stats(option->root());
    146   stats+=tree->parse(option->verbose());
     145  Stats stats(tree->parse(option->verbose()));
    147146
    148147  // remove target if needed
  • branches/0.6-stable/lib/Stats.h

    r430 r486  
    152152    typedef Map_::const_iterator MapConstIter_;
    153153
    154     ///
    155     /// Copy constructor (not implemented)
    156     ///
    157     Stats(const Stats& other);
     154    /// using compiler generated copy
     155    //Stats(const Stats& other);
    158156
    159157    ///
Note: See TracChangeset for help on using the changeset viewer.