[Lemon-commits] Alpar Juttner: Merge bugfix #311
Lemon HG
hg at lemon.cs.elte.hu
Thu Aug 20 22:54:41 CEST 2009
details: http://lemon.cs.elte.hu/hg/lemon/rev/4f9219730eb4
changeset: 737:4f9219730eb4
user: Alpar Juttner <alpar [at] cs.elte.hu>
date: Thu Aug 20 22:45:40 2009 +0200
description:
Merge bugfix #311
diffstat:
lemon/bits/edge_set_extender.h | 4 ++--
lemon/bits/graph_extender.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (51 lines):
diff --git a/lemon/bits/edge_set_extender.h b/lemon/bits/edge_set_extender.h
--- a/lemon/bits/edge_set_extender.h
+++ b/lemon/bits/edge_set_extender.h
@@ -537,7 +537,7 @@
typedef MapExtender<DefaultMap<Graph, Arc, _Value> > Parent;
public:
- ArcMap(const Graph& _g)
+ explicit ArcMap(const Graph& _g)
: Parent(_g) {}
ArcMap(const Graph& _g, const _Value& _v)
: Parent(_g, _v) {}
@@ -561,7 +561,7 @@
typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent;
public:
- EdgeMap(const Graph& _g)
+ explicit EdgeMap(const Graph& _g)
: Parent(_g) {}
EdgeMap(const Graph& _g, const _Value& _v)
diff --git a/lemon/bits/graph_extender.h b/lemon/bits/graph_extender.h
--- a/lemon/bits/graph_extender.h
+++ b/lemon/bits/graph_extender.h
@@ -604,7 +604,7 @@
typedef MapExtender<DefaultMap<Graph, Node, _Value> > Parent;
public:
- NodeMap(const Graph& graph)
+ explicit NodeMap(const Graph& graph)
: Parent(graph) {}
NodeMap(const Graph& graph, const _Value& value)
: Parent(graph, value) {}
@@ -628,7 +628,7 @@
typedef MapExtender<DefaultMap<Graph, Arc, _Value> > Parent;
public:
- ArcMap(const Graph& graph)
+ explicit ArcMap(const Graph& graph)
: Parent(graph) {}
ArcMap(const Graph& graph, const _Value& value)
: Parent(graph, value) {}
@@ -652,7 +652,7 @@
typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent;
public:
- EdgeMap(const Graph& graph)
+ explicit EdgeMap(const Graph& graph)
: Parent(graph) {}
EdgeMap(const Graph& graph, const _Value& value)
More information about the Lemon-commits
mailing list