1.1 --- a/lemon/bits/edge_set_extender.h Thu Aug 20 22:41:40 2009 +0200
1.2 +++ b/lemon/bits/edge_set_extender.h Thu Aug 20 22:45:40 2009 +0200
1.3 @@ -537,7 +537,7 @@
1.4 typedef MapExtender<DefaultMap<Graph, Arc, _Value> > Parent;
1.5
1.6 public:
1.7 - ArcMap(const Graph& _g)
1.8 + explicit ArcMap(const Graph& _g)
1.9 : Parent(_g) {}
1.10 ArcMap(const Graph& _g, const _Value& _v)
1.11 : Parent(_g, _v) {}
1.12 @@ -561,7 +561,7 @@
1.13 typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent;
1.14
1.15 public:
1.16 - EdgeMap(const Graph& _g)
1.17 + explicit EdgeMap(const Graph& _g)
1.18 : Parent(_g) {}
1.19
1.20 EdgeMap(const Graph& _g, const _Value& _v)
2.1 --- a/lemon/bits/graph_extender.h Thu Aug 20 22:41:40 2009 +0200
2.2 +++ b/lemon/bits/graph_extender.h Thu Aug 20 22:45:40 2009 +0200
2.3 @@ -604,7 +604,7 @@
2.4 typedef MapExtender<DefaultMap<Graph, Node, _Value> > Parent;
2.5
2.6 public:
2.7 - NodeMap(const Graph& graph)
2.8 + explicit NodeMap(const Graph& graph)
2.9 : Parent(graph) {}
2.10 NodeMap(const Graph& graph, const _Value& value)
2.11 : Parent(graph, value) {}
2.12 @@ -628,7 +628,7 @@
2.13 typedef MapExtender<DefaultMap<Graph, Arc, _Value> > Parent;
2.14
2.15 public:
2.16 - ArcMap(const Graph& graph)
2.17 + explicit ArcMap(const Graph& graph)
2.18 : Parent(graph) {}
2.19 ArcMap(const Graph& graph, const _Value& value)
2.20 : Parent(graph, value) {}
2.21 @@ -652,7 +652,7 @@
2.22 typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent;
2.23
2.24 public:
2.25 - EdgeMap(const Graph& graph)
2.26 + explicit EdgeMap(const Graph& graph)
2.27 : Parent(graph) {}
2.28
2.29 EdgeMap(const Graph& graph, const _Value& value)