COIN-OR::LEMON - Graph Library

Changeset 1934:272fa8a0b680 in lemon-0.x


Ignore:
Timestamp:
01/31/06 21:14:52 (18 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2509
Message:

Bug fix

ANodeIt/BNodeIt should not be inherited from ANode/BNode

The reason:
assert(graph.id(ANodeIt(graph)) == graph.id((Node)ANodeIt(graph)));

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/iterable_graph_extender.h

    r1933 r1934  
    304304    };
    305305
    306     class ANodeIt : public ANode {
     306    class ANodeIt : public Node {
    307307      friend class IterableBpUGraphExtender;
    308308      const Graph* graph;
     
    326326    };
    327327
    328     class BNodeIt : public BNode {
     328    class BNodeIt : public Node {
    329329      friend class IterableBpUGraphExtender;
    330330      const Graph* graph;
Note: See TracChangeset for help on using the changeset viewer.