2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-01 20:42:11 +00:00

Changed some names to fix shadowing warnings; refs #9371

[SVN r86680]
This commit is contained in:
Jeremiah Willcock
2013-11-13 17:36:02 +00:00
parent 983be4b9e7
commit cec654dedb

View File

@@ -469,10 +469,10 @@ typename T::ThereReallyIsNoMemberByThisNameInT vertices(T const&);
const_constraints(g);
}
void const_constraints(const Graph& g)
void const_constraints(const Graph& g_)
{
typedef typename property_map<Graph, vertex_index_t>::const_type Map;
Map m = get(vertex_index, g);
Map m = get(vertex_index, g_);
ignore_unused_variable_warning(m);
}
private:
@@ -496,10 +496,10 @@ typename T::ThereReallyIsNoMemberByThisNameInT vertices(T const&);
const_constraints(g);
}
void const_constraints(const Graph& g)
void const_constraints(const Graph& g_)
{
typedef typename property_map<Graph, edge_index_t>::const_type Map;
Map m = get(edge_index, g);
Map m = get(edge_index, g_);
ignore_unused_variable_warning(m);
}
private: