COIN-OR::LEMON - Graph Library

Changeset 2357:5365600a7a5c in lemon-0.x for lemon/path_utils.h


Ignore:
Timestamp:
02/11/07 17:34:51 (16 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3160
Message:

Some bug fix
RevIt? => RevEdgeIt? renaming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/path_utils.h

    r2350 r2357  
    4949    struct PathCopySelector {
    5050      static void copy(Target& target, const Source& source) {
    51         source.clear();
     51        target.clear();
    5252        for (typename Source::EdgeIt it(source); it != INVALID; ++it) {
    5353          target.addBack(it);
     
    6161      typename enable_if<typename Source::RevPathTag, void>::type> {
    6262      static void copy(Target& target, const Source& source) {
    63         source.clear();
    64         for (typename Source::RevIt it(source); it != INVALID; ++it) {
     63        target.clear();
     64        for (typename Source::RevEdgeIt it(source); it != INVALID; ++it) {
    6565          target.addFront(it);
    6666        }
Note: See TracChangeset for help on using the changeset viewer.