lemon/graph_adaptor.h
changeset 2392 4bbeaf115cdb
parent 2391 14a343be7a5a
child 2408 467ca6d16556
     1.1 --- a/lemon/graph_adaptor.h	Sat Mar 03 16:30:37 2007 +0000
     1.2 +++ b/lemon/graph_adaptor.h	Mon Mar 05 17:10:58 2007 +0000
     1.3 @@ -2605,14 +2605,12 @@
     1.4      /// This class adapt an original graph EdgeMap and NodeMap to
     1.5      /// get an edge map on the adapted graph.
     1.6      template <typename GraphEdgeMap, typename GraphNodeMap>
     1.7 -    class CombinedEdgeMap 
     1.8 -      : public MapBase<Edge, typename GraphEdgeMap::Value> {
     1.9 +    class CombinedEdgeMap {
    1.10      public:
    1.11 -      typedef MapBase<Edge, typename GraphEdgeMap::Value> Parent;
    1.12 -
    1.13 -      typedef typename Parent::Key Key;
    1.14 -      typedef typename Parent::Value Value;
    1.15 -
    1.16 +      
    1.17 +      typedef Edge Key;
    1.18 +      typedef typename GraphEdgeMap::Value Value;
    1.19 +      
    1.20        /// \brief Constructor
    1.21        ///
    1.22        /// Constructor.