Ignore:
Timestamp:
Oct 24, 2010, 12:05:25 AM (11 years ago)
Author:
Peter Johansson
Message:

remove print_copyright from Node interface since we use traverse to traverse node tree and only need to update copyright on File

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Directory.cc

    r1236 r1238  
    272272
    273273
    274   void Directory::print_copyright(std::map<std::string, Alias>& alias,
    275                                   bool verbose,
    276                                   const std::map<int,svn_revnum_t>& y2r) const
    277   {
    278     if (!ignore() && !svncopyright_ignore()) {
    279       // print daughter nodes, i.e, this function is recursive
    280       for (NodeConstIterator i = daughters_.begin(); i!=daughters_.end(); ++i)
    281         (*i)->print_copyright(alias, verbose, y2r);
    282     }
    283   }
    284 
    285 
    286274  void Directory::traverse(NodeVisitor& visitor)
    287275  {
Note: See TracChangeset for help on using the changeset viewer.