Changeset 75


Ignore:
Timestamp:
Mar 9, 2006, 11:53:34 AM (16 years ago)
Author:
Peter Johansson
Message:

the return of the white thin duke

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Directory.cc

    r74 r75  
    9696
    9797    // print daughter nodes, i.e, this function is recursive
    98     for (std::list<Node*>::const_iterator i=daughters_.begin();
    99          i!=daughters_.end(); i++)
    100       (*i)->print(verbose);
     98    std::for_each(daughters_.begin(), daughters_.end(),
     99                  std::bind2nd(std::mem_fun(&Node::print),verbose));
    101100  }
    102101
Note: See TracChangeset for help on using the changeset viewer.