# HG changeset patch # User alpar # Date 1077024404 0 # Node ID a7f9e2fda93ab1ba24c3cfd0e2149cc1fefb2293 # Parent 81bf58164f603b3952468bf558867c86bdd87e67 . diff -r 81bf58164f60 -r a7f9e2fda93a src/work/list_graph.hh --- a/src/work/list_graph.hh Tue Feb 17 12:27:49 2004 +0000 +++ b/src/work/list_graph.hh Tue Feb 17 13:26:44 2004 +0000 @@ -361,8 +361,9 @@ friend class OutEdgeIt; friend class InEdgeIt; friend class SymEdgeIt; + public: //FIXME: It is required by op= of EachNodeIt + node_item* node; protected: - node_item* node; friend int ListGraph::id(NodeIt v) const; public: NodeIt() : node(0) { } @@ -381,12 +382,15 @@ class EachNodeIt : public NodeIt { friend class ListGraph; //protected: - public: //for alpar + public: //for everybody but marci EachNodeIt(const ListGraph& G) : NodeIt(G._first_node) { } public: EachNodeIt() : NodeIt() { } EachNodeIt(node_item* v) : NodeIt(v) { } EachNodeIt& operator++() { node=node->_next_node; return *this; } + //FIXME:: + EachNodeIt& operator=(const NodeIt& e) + { node=e.node; return *this; } }; class EdgeIt {