COIN-OR::LEMON - Graph Library

Changeset 2343:21587bc5922b in lemon-0.x for lemon/list_graph.h


Ignore:
Timestamp:
01/11/07 22:58:30 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3135
Message:

G++-3.3 conform solution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/list_graph.h

    r2342 r2343  
    748748   
    749749    typedef ListUGraphBase Graph;
     750
     751    class Node;
     752    class Edge;
     753    class UEdge;
    750754   
    751755    class Node {
     
    766770    class UEdge {
    767771      friend class ListUGraphBase;
    768       friend class ListUGraphBase::Edge;
    769772    protected:
    770773
     
    788791
    789792    public:
    790       operator UEdge() const { return UEdge(id / 2); }
     793      operator UEdge() const { return uEdgeFromId(id / 2); }
    791794
    792795      Edge() {}
Note: See TracChangeset for help on using the changeset viewer.