COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/core.h

    r416 r398  
    385385      static void copy(const From& from, Digraph &to,
    386386                       NodeRefMap& nodeRefMap, ArcRefMap& arcRefMap) {
    387         to.clear();
    388387        for (typename From::NodeIt it(from); it != INVALID; ++it) {
    389388          nodeRefMap[it] = to.addNode();
     
    413412      static void copy(const From& from, Graph &to,
    414413                       NodeRefMap& nodeRefMap, EdgeRefMap& edgeRefMap) {
    415         to.clear();
    416414        for (typename From::NodeIt it(from); it != INVALID; ++it) {
    417415          nodeRefMap[it] = to.addNode();
Note: See TracChangeset for help on using the changeset viewer.