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
f6db1821
Commit
f6db1821
authored
Feb 21, 2013
by
Tiago Peixoto
Browse files
Workaround for adj_list<> with older boost versions
parent
d1621047
Changes
1
Show whitespace changes
Inline
Side-by-side
src/graph/graph_adjacency.hh
View file @
f6db1821
...
...
@@ -248,6 +248,8 @@ public:
size_t
get_last_index
()
const
{
return
_last_idx
;}
static
Vertex
null_vertex
()
{
return
std
::
numeric_limits
<
Vertex
>::
max
();
}
private:
typedef
std
::
vector
<
edge_list_t
>
vertex_list_t
;
vertex_list_t
_out_edges
;
...
...
@@ -331,7 +333,7 @@ struct graph_traits<adj_list<Vertex> >
typedef
Vertex
edges_size_type
;
typedef
size_t
degree_size_type
;
static
Vertex
null_vertex
()
{
return
std
::
numeric_limits
<
Vertex
>::
ma
x
();
}
static
Vertex
null_vertex
()
{
return
adj_list
<
Vertex
>::
null_verte
x
();
}
};
template
<
class
Vertex
>
...
...
Write
Preview
Supports
Markdown
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