Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
7d1b0536
Commit
7d1b0536
authored
Apr 12, 2015
by
Tiago Peixoto
Browse files
Remove compilation warnings in graph_line_graph.cc
parent
37aaaf33
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/generation/graph_line_graph.cc
View file @
7d1b0536
...
...
@@ -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
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment