Commit 7d1b0536 authored by Tiago Peixoto's avatar Tiago Peixoto

Remove compilation warnings in graph_line_graph.cc

parent 37aaaf33
......@@ -50,10 +50,6 @@ struct get_line_graph
vertex_map[v] = edge_index[e];
}
typedef typename property_map<LineGraph,edge_index_t>::type
line_edge_index_map_t;
line_edge_index_map_t line_edge_index(get(edge_index_t(), line_graph));
if (boost::is_directed(g))
{
for (auto v : vertices_range(g))
......@@ -82,7 +78,7 @@ struct get_line_graph
{
add_edge(edge_to_vertex_map[*e1],
edge_to_vertex_map[*e2],
line_graph).first;
line_graph);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment