equal
deleted
inserted
replaced
1513 |
1513 |
1514 class AutoNodeMap : public DefaultMap<_Graph, Key, int> { |
1514 class AutoNodeMap : public DefaultMap<_Graph, Key, int> { |
1515 public: |
1515 public: |
1516 |
1516 |
1517 typedef DefaultMap<_Graph, Key, int> Parent; |
1517 typedef DefaultMap<_Graph, Key, int> Parent; |
|
1518 typedef typename Parent::Graph Graph; |
1518 |
1519 |
1519 AutoNodeMap(const Graph& graph) : Parent(graph, 0) {} |
1520 AutoNodeMap(const Graph& graph) : Parent(graph, 0) {} |
1520 |
1521 |
1521 virtual void add(const Key& key) { |
1522 virtual void add(const Key& key) { |
1522 Parent::add(key); |
1523 Parent::add(key); |
1625 |
1626 |
1626 class AutoNodeMap : public DefaultMap<_Graph, Key, int> { |
1627 class AutoNodeMap : public DefaultMap<_Graph, Key, int> { |
1627 public: |
1628 public: |
1628 |
1629 |
1629 typedef DefaultMap<_Graph, Key, int> Parent; |
1630 typedef DefaultMap<_Graph, Key, int> Parent; |
|
1631 typedef typename Parent::Graph Graph; |
1630 |
1632 |
1631 AutoNodeMap(const Graph& graph) : Parent(graph, 0) {} |
1633 AutoNodeMap(const Graph& graph) : Parent(graph, 0) {} |
1632 |
1634 |
1633 virtual void add(const Key& key) { |
1635 virtual void add(const Key& key) { |
1634 Parent::add(key); |
1636 Parent::add(key); |