Some more MS VC++ compatibility changes (suggested by Janos Tapolcai)
authoralpar
Mon, 21 Mar 2005 12:49:37 +0000
changeset 1236fd24f16e0d73
parent 1235 4511c7d91834
child 1237 2414b5ab7684
Some more MS VC++ compatibility changes (suggested by Janos Tapolcai)
src/lemon/bfs.h
src/lemon/dfs.h
src/lemon/dijkstra.h
     1.1 --- a/src/lemon/bfs.h	Mon Mar 21 11:48:59 2005 +0000
     1.2 +++ b/src/lemon/bfs.h	Mon Mar 21 12:49:37 2005 +0000
     1.3 @@ -966,7 +966,7 @@
     1.4      struct DefPredMapBase : public Base {
     1.5        typedef T PredMap;
     1.6        static PredMap *createPredMap(const Graph &G) { return 0; };
     1.7 -      DefPredMapBase(const Base &b) : Base(b) {}
     1.8 +      DefPredMapBase(const TR &b) : TR(b) {}
     1.9      };
    1.10      
    1.11      ///\brief \ref named-templ-param "Named parameter"
    1.12 @@ -987,7 +987,7 @@
    1.13      struct DefReachedMapBase : public Base {
    1.14        typedef T ReachedMap;
    1.15        static ReachedMap *createReachedMap(const Graph &G) { return 0; };
    1.16 -      DefReachedMapBase(const Base &b) : Base(b) {}
    1.17 +      DefReachedMapBase(const TR &b) : TR(b) {}
    1.18      };
    1.19      
    1.20      ///\brief \ref named-templ-param "Named parameter"
    1.21 @@ -1008,7 +1008,7 @@
    1.22      struct DefProcessedMapBase : public Base {
    1.23        typedef T ProcessedMap;
    1.24        static ProcessedMap *createProcessedMap(const Graph &G) { return 0; };
    1.25 -      DefProcessedMapBase(const Base &b) : Base(b) {}
    1.26 +      DefProcessedMapBase(const TR &b) : TR(b) {}
    1.27      };
    1.28      
    1.29      ///\brief \ref named-templ-param "Named parameter"
    1.30 @@ -1029,7 +1029,7 @@
    1.31  //     struct DefPredNodeMapBase : public Base {
    1.32  //       typedef T PredNodeMap;
    1.33  //       static PredNodeMap *createPredNodeMap(const Graph &G) { return 0; };
    1.34 -//       DefPredNodeMapBase(const Base &b) : Base(b) {}
    1.35 +//       DefPredNodeMapBase(const TR &b) : TR(b) {}
    1.36  //     };
    1.37      
    1.38  //     ///\brief \ref named-templ-param "Named parameter"
    1.39 @@ -1049,7 +1049,7 @@
    1.40      struct DefDistMapBase : public Base {
    1.41        typedef T DistMap;
    1.42        static DistMap *createDistMap(const Graph &G) { return 0; };
    1.43 -      DefDistMapBase(const Base &b) : Base(b) {}
    1.44 +      DefDistMapBase(const TR &b) : TR(b) {}
    1.45      };
    1.46      
    1.47      ///\brief \ref named-templ-param "Named parameter"
     2.1 --- a/src/lemon/dfs.h	Mon Mar 21 11:48:59 2005 +0000
     2.2 +++ b/src/lemon/dfs.h	Mon Mar 21 12:49:37 2005 +0000
     2.3 @@ -972,7 +972,7 @@
     2.4      struct DefPredMapBase : public Base {
     2.5        typedef T PredMap;
     2.6        static PredMap *createPredMap(const Graph &G) { return 0; };
     2.7 -      DefPredMapBase(const Base &b) : Base(b) {}
     2.8 +      DefPredMapBase(const TR &b) : TR(b) {}
     2.9      };
    2.10      
    2.11      ///\brief \ref named-templ-param "Named parameter"
    2.12 @@ -993,7 +993,7 @@
    2.13      struct DefReachedMapBase : public Base {
    2.14        typedef T ReachedMap;
    2.15        static ReachedMap *createReachedMap(const Graph &G) { return 0; };
    2.16 -      DefReachedMapBase(const Base &b) : Base(b) {}
    2.17 +      DefReachedMapBase(const TR &b) : TR(b) {}
    2.18      };
    2.19      
    2.20      ///\brief \ref named-templ-param "Named parameter"
    2.21 @@ -1014,7 +1014,7 @@
    2.22      struct DefProcessedMapBase : public Base {
    2.23        typedef T ProcessedMap;
    2.24        static ProcessedMap *createProcessedMap(const Graph &G) { return 0; };
    2.25 -      DefProcessedMapBase(const Base &b) : Base(b) {}
    2.26 +      DefProcessedMapBase(const TR &b) : TR(b) {}
    2.27      };
    2.28      
    2.29      ///\brief \ref named-templ-param "Named parameter"
    2.30 @@ -1035,7 +1035,7 @@
    2.31  //     struct DefPredNodeMapBase : public Base {
    2.32  //       typedef T PredNodeMap;
    2.33  //       static PredNodeMap *createPredNodeMap(const Graph &G) { return 0; };
    2.34 -//       DefPredNodeMapBase(const Base &b) : Base(b) {}
    2.35 +//       DefPredNodeMapBase(const TR &b) : TR(b) {}
    2.36  //     };
    2.37      
    2.38  //     ///\brief \ref named-templ-param "Named parameter"
    2.39 @@ -1055,7 +1055,7 @@
    2.40      struct DefDistMapBase : public Base {
    2.41        typedef T DistMap;
    2.42        static DistMap *createDistMap(const Graph &G) { return 0; };
    2.43 -      DefDistMapBase(const Base &b) : Base(b) {}
    2.44 +      DefDistMapBase(const TR &b) : TR(b) {}
    2.45      };
    2.46      
    2.47      ///\brief \ref named-templ-param "Named parameter"
     3.1 --- a/src/lemon/dijkstra.h	Mon Mar 21 11:48:59 2005 +0000
     3.2 +++ b/src/lemon/dijkstra.h	Mon Mar 21 12:49:37 2005 +0000
     3.3 @@ -950,7 +950,7 @@
     3.4      struct DefPredMapBase : public Base {
     3.5        typedef T PredMap;
     3.6        static PredMap *createPredMap(const Graph &G) { return 0; };
     3.7 -      DefPredMapBase(const Base &b) : Base(b) {}
     3.8 +      DefPredMapBase(const TR &b) : TR(b) {}
     3.9      };
    3.10      
    3.11      ///\brief \ref named-templ-param "Named parameter"
    3.12 @@ -971,7 +971,7 @@
    3.13  //     struct DefPredNodeMapBase : public Base {
    3.14  //       typedef T PredNodeMap;
    3.15  //       static PredNodeMap *createPredNodeMap(const Graph &G) { return 0; };
    3.16 -//       DefPredNodeMapBase(const Base &b) : Base(b) {}
    3.17 +//       DefPredNodeMapBase(const TR &b) : TR(b) {}
    3.18  //     };
    3.19      
    3.20  //     ///\brief \ref named-templ-param "Named parameter"
    3.21 @@ -991,7 +991,7 @@
    3.22      struct DefDistMapBase : public Base {
    3.23        typedef T DistMap;
    3.24        static DistMap *createDistMap(const Graph &G) { return 0; };
    3.25 -      DefDistMapBase(const Base &b) : Base(b) {}
    3.26 +      DefDistMapBase(const TR &b) : TR(b) {}
    3.27      };
    3.28      
    3.29      ///\brief \ref named-templ-param "Named parameter"