COIN-OR::LEMON - Graph Library

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


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

Location:
lemon
Files:
2 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() {}
  • lemon/smart_graph.h

    r2342 r2343  
    410410    class UEdge {
    411411      friend class SmartUGraphBase;
    412       friend class SmartUGraphBase::Edge;
    413412    protected:
    414413
     
    432431
    433432    public:
    434       operator UEdge() const { return UEdge(id / 2); }
     433      operator UEdge() const { return uEdgeFromId(id / 2); }
    435434
    436435      Edge() {}
Note: See TracChangeset for help on using the changeset viewer.