# HG changeset patch # User Peter Kovacs # Date 1250786256 -7200 # Node ID a27356ceb5bd30211c7f73bd887feb55804c5664 # Parent 7b1a6e9630188b425c35b77110d67547eb1c2a00 Add missing 'explicit' keywords (#311) diff -r 7b1a6e963018 -r a27356ceb5bd lemon/bits/edge_set_extender.h --- a/lemon/bits/edge_set_extender.h Thu Jul 23 18:09:41 2009 +0200 +++ b/lemon/bits/edge_set_extender.h Thu Aug 20 18:37:36 2009 +0200 @@ -537,7 +537,7 @@ typedef MapExtender > 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 > Parent; public: - EdgeMap(const Graph& _g) + explicit EdgeMap(const Graph& _g) : Parent(_g) {} EdgeMap(const Graph& _g, const _Value& _v) diff -r 7b1a6e963018 -r a27356ceb5bd lemon/bits/graph_extender.h --- a/lemon/bits/graph_extender.h Thu Jul 23 18:09:41 2009 +0200 +++ b/lemon/bits/graph_extender.h Thu Aug 20 18:37:36 2009 +0200 @@ -604,7 +604,7 @@ typedef MapExtender > 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 > 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 > Parent; public: - EdgeMap(const Graph& graph) + explicit EdgeMap(const Graph& graph) : Parent(graph) {} EdgeMap(const Graph& graph, const _Value& value)