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
203d04bb
Commit
203d04bb
authored
Apr 13, 2013
by
Tiago Peixoto
Browse files
Fix compilation warning
parent
945ca547
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/graph_util.hh
View file @
203d04bb
...
@@ -152,7 +152,6 @@ template <class GraphOrig, class GraphTarget>
...
@@ -152,7 +152,6 @@ template <class GraphOrig, class GraphTarget>
void
graph_copy
(
const
GraphOrig
&
g
,
GraphTarget
&
gt
)
void
graph_copy
(
const
GraphOrig
&
g
,
GraphTarget
&
gt
)
{
{
typename
property_map
<
GraphOrig
,
vertex_index_t
>::
type
index
=
get
(
vertex_index
,
g
);
typename
property_map
<
GraphOrig
,
vertex_index_t
>::
type
index
=
get
(
vertex_index
,
g
);
typedef
typename
graph_traits
<
GraphOrig
>::
vertex_descriptor
vertex_t
;
typedef
typename
graph_traits
<
GraphTarget
>::
vertex_descriptor
tvertex_t
;
typedef
typename
graph_traits
<
GraphTarget
>::
vertex_descriptor
tvertex_t
;
vector
<
tvertex_t
>
vmap
(
num_vertices
(
g
));
vector
<
tvertex_t
>
vmap
(
num_vertices
(
g
));
typename
graph_traits
<
GraphOrig
>::
vertex_iterator
v
,
v_end
;
typename
graph_traits
<
GraphOrig
>::
vertex_iterator
v
,
v_end
;
...
...
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