# HG changeset patch # User alpar # Date 1075905406 0 # Node ID 30e734e6adff51544f336fa3cc8b67c9cfcdd19b # Parent 89d2ce014e123b7d94a2bdd2c9db9ca32924db1f ValueType/KeyType is NodeMap/EdgeMap diff -r 89d2ce014e12 -r 30e734e6adff src/work/alpar/emptygraph.h --- a/src/work/alpar/emptygraph.h Wed Feb 04 12:59:17 2004 +0000 +++ b/src/work/alpar/emptygraph.h Wed Feb 04 14:36:46 2004 +0000 @@ -58,7 +58,8 @@ template class NodeMap { public: - typedef T value_type; + typedef T ValueType; + typedef NodeIt KeyType; void set(const NodeIt i, const T &t); T get(const NodeIt i) const; T &operator[](const NodeIt i); @@ -69,7 +70,8 @@ template class EdgeMap { public: - typedef T value_type; + typedef T ValueType; + typedef EdgeIt KeyType; void set(const EdgeIt i, const T &t); T get(const EdgeIt i) const; T &operator[](const EdgeIt i);