Changeset 79


Ignore:
Timestamp:
Mar 10, 2006, 12:44:45 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Clean up code.

Location:
trunk/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Directory.cc

    r75 r79  
    6666    stats_.reset();
    6767
     68    // Directories give no contribution to statistics.
    6869    for (NodeIterator i=daughters_.begin(); i!=daughters_.end(); i++)
    6970      stats_ += (*i)->parse(verbose);
  • trunk/lib/Node.cc

    r74 r79  
    1111namespace theplu{
    1212namespace svnstat{
    13 
    14   Node::Node(const std::string& path, const std::string& output)
    15     : path_(path)
    16   {
    17     output_name_ = output + name();
    18   }
    1913
    2014
  • trunk/lib/Node.h

    r74 r79  
    2222    /// @brief Constructor
    2323    ///
    24     Node(const std::string& path, const std::string& output="");
     24    Node(const std::string& path, const std::string& output="") : path_(path)
     25      { output_name_ = output + name(); }
    2526
    2627    ///
Note: See TracChangeset for help on using the changeset viewer.