lemon/bits/graph_extender.h
changeset 719 ba79e8d64448
parent 617 4137ef9aacc6
child 778 a143f19f465b
child 997 761fe0846f49
     1.1 --- a/lemon/bits/graph_extender.h	Thu Aug 20 20:34:30 2009 +0200
     1.2 +++ b/lemon/bits/graph_extender.h	Fri Sep 25 09:33:09 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)