1.1 --- a/src/lemon/clearable_graph_extender.h Wed Nov 10 21:59:59 2004 +0000
1.2 +++ b/src/lemon/clearable_graph_extender.h Thu Nov 11 09:31:55 2004 +0000
1.3 @@ -14,10 +14,12 @@
1.4
1.5 typedef ClearableGraphExtender Graph;
1.6 typedef _Base Parent;
1.7 + typedef typename Parent::Node Node;
1.8 + typedef typename Parent::Edge Edge;
1.9
1.10 void clear() {
1.11 - Parent::getNodeObserverRegistry().clear();
1.12 - Parent::getEdgeObserverRegistry().clear();
1.13 + Parent::getObserverRegistry(Node()).clear();
1.14 + Parent::getObserverRegistry(Edge()).clear();
1.15 Parent::clear();
1.16 }
1.17