xymap.h
branchgui
changeset 98 f60f89147531
parent 53 e73d7540bd24
child 150 86273bfe0e4d
     1.1 --- a/xymap.h	Thu Dec 08 14:16:08 2005 +0000
     1.2 +++ b/xymap.h	Sat Dec 17 20:55:41 2005 +0000
     1.3 @@ -4,9 +4,6 @@
     1.4  #include <lemon/list_graph.h>
     1.5  #include <lemon/xy.h>
     1.6  
     1.7 -using lemon::ListGraph;
     1.8 -using lemon::xy;
     1.9 -
    1.10  template<class M>
    1.11  class XYMap
    1.12  {
    1.13 @@ -15,7 +12,7 @@
    1.14  
    1.15    public:
    1.16      typedef typename M::Key Key;
    1.17 -    typedef xy<typename M::Value> Value;
    1.18 +    typedef lemon::xy<typename M::Value> Value;
    1.19      XYMap() {}
    1.20      XYMap(M &_xmap, M &_ymap) : xmap(&_xmap), ymap(&_ymap) {}
    1.21      void setXMap(M &_xmap) { xmap = &_xmap; }