Changeset 2343:21587bc5922b in lemon-0.x for lemon
- Timestamp:
- 01/11/07 22:58:30 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3135
- Location:
- lemon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/list_graph.h
r2342 r2343 748 748 749 749 typedef ListUGraphBase Graph; 750 751 class Node; 752 class Edge; 753 class UEdge; 750 754 751 755 class Node { … … 766 770 class UEdge { 767 771 friend class ListUGraphBase; 768 friend class ListUGraphBase::Edge;769 772 protected: 770 773 … … 788 791 789 792 public: 790 operator UEdge() const { return UEdge(id / 2); }793 operator UEdge() const { return uEdgeFromId(id / 2); } 791 794 792 795 Edge() {} -
lemon/smart_graph.h
r2342 r2343 410 410 class UEdge { 411 411 friend class SmartUGraphBase; 412 friend class SmartUGraphBase::Edge;413 412 protected: 414 413 … … 432 431 433 432 public: 434 operator UEdge() const { return UEdge(id / 2); }433 operator UEdge() const { return uEdgeFromId(id / 2); } 435 434 436 435 Edge() {}
Note: See TracChangeset
for help on using the changeset viewer.