Correct MapBase usage.
1.1 --- a/src/work/peter/xy-reader.cc Wed Mar 30 14:29:55 2005 +0000
1.2 +++ b/src/work/peter/xy-reader.cc Thu Mar 31 06:05:58 2005 +0000
1.3 @@ -2,7 +2,7 @@
1.4 #include <iostream>
1.5
1.6 #include <lemon/xy.h>
1.7 -#include <lemon/concept/maps.h>
1.8 +#include <lemon/maps.h>
1.9 #include <lemon/error.h>
1.10 #include <lemon/list_graph.h>
1.11 #include <lemon/graph_reader.h>
1.12 @@ -15,13 +15,13 @@
1.13 typedef Graph::NodeMap<Coordinates> CoordinatesMap;
1.14 typedef Graph::Node Node;
1.15
1.16 -class CoordReaderMap: public concept::WriteMap<Node, double>
1.17 +class CoordReaderMap: public MapBase<Node, double>
1.18 {
1.19 CoordinatesMap * cm;
1.20 char xoy;
1.21
1.22 public:
1.23 - CoordReaderMap(char xory, CoordinatesMap * coordmap): concept::WriteMap<Node, double>() ,cm(coordmap)
1.24 + CoordReaderMap(char xory, CoordinatesMap * coordmap): cm(coordmap)
1.25 {
1.26 switch(xory)
1.27 {