lemon/bits/graph_extender.h
changeset 717 684964884a2e
parent 617 4137ef9aacc6
child 778 a143f19f465b
child 963 761fe0846f49
     1.1 --- a/lemon/bits/graph_extender.h	Sun Aug 02 12:40:20 2009 +0200
     1.2 +++ b/lemon/bits/graph_extender.h	Fri Sep 25 09:13:03 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)