lemon/bits/graph_extender.h
changeset 732 a27356ceb5bd
parent 664 4137ef9aacc6
child 825 a143f19f465b
child 1157 761fe0846f49
     1.1 --- a/lemon/bits/graph_extender.h	Thu Jul 23 18:09:41 2009 +0200
     1.2 +++ b/lemon/bits/graph_extender.h	Thu Aug 20 18:37:36 2009 +0200
     1.3 @@ -604,7 +604,7 @@
     1.4        typedef MapExtender<DefaultMap<Graph, Node, _Value> > Parent;
     1.5  
     1.6      public:
     1.7 -      NodeMap(const Graph& graph)
     1.8 +      explicit NodeMap(const Graph& graph)
     1.9          : Parent(graph) {}
    1.10        NodeMap(const Graph& graph, const _Value& value)
    1.11          : Parent(graph, value) {}
    1.12 @@ -628,7 +628,7 @@
    1.13        typedef MapExtender<DefaultMap<Graph, Arc, _Value> > Parent;
    1.14  
    1.15      public:
    1.16 -      ArcMap(const Graph& graph)
    1.17 +      explicit ArcMap(const Graph& graph)
    1.18          : Parent(graph) {}
    1.19        ArcMap(const Graph& graph, const _Value& value)
    1.20          : Parent(graph, value) {}
    1.21 @@ -652,7 +652,7 @@
    1.22        typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent;
    1.23  
    1.24      public:
    1.25 -      EdgeMap(const Graph& graph)
    1.26 +      explicit EdgeMap(const Graph& graph)
    1.27          : Parent(graph) {}
    1.28  
    1.29        EdgeMap(const Graph& graph, const _Value& value)