Changeset 1999:2ff283124dfc in lemon-0.x for lemon/graph_adaptor.h
- Timestamp:
- 03/06/06 11:28:37 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2609
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/graph_adaptor.h
r1993 r1999 31 31 #include <lemon/maps.h> 32 32 33 #include <lemon/bits/base_extender.h> 33 34 #include <lemon/bits/graph_adaptor_extender.h> 34 35 #include <lemon/bits/graph_extender.h> … … 938 939 939 940 UndirGraphAdaptorBase() 940 : Parent(), edge_notifier(), edge_notifier_proxy(edge_notifier) {}941 : edge_notifier(*this), edge_notifier_proxy(edge_notifier) {} 941 942 942 943 void setGraph(_Graph& graph) { … … 948 949 949 950 ~UndirGraphAdaptorBase() { 950 getNotifier(Edge()).clear(); 951 edge_notifier.clear(); 952 } 953 954 int maxId(typename Parent::Edge) const { 955 return Parent::maxEdgeId(); 951 956 } 952 957 … … 959 964 using Parent::getNotifier; 960 965 961 typedef AlterationNotifier< Edge> EdgeNotifier;966 typedef AlterationNotifier<UndirGraphAdaptorBase, Edge> EdgeNotifier; 962 967 EdgeNotifier& getNotifier(Edge) const { return edge_notifier; } 963 968
Note: See TracChangeset
for help on using the changeset viewer.