Commit 669e3448 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix compilation warning

parent 5c370c56
......@@ -226,8 +226,8 @@ _all_edges_out(typename graph_traits<undirected_adaptor<Graph>>::vertex_descript
template <class Graph>
inline __attribute__((always_inline)) __attribute__((flatten))
auto
in_edges(typename graph_traits<undirected_adaptor<Graph>>::vertex_descriptor u,
const undirected_adaptor<Graph>& g)
in_edges(typename graph_traits<undirected_adaptor<Graph>>::vertex_descriptor,
const undirected_adaptor<Graph>&)
{
typedef typename graph_traits<undirected_adaptor<Graph>>::in_edge_iterator
iter_t;
......@@ -341,8 +341,8 @@ out_degree(typename graph_traits<undirected_adaptor<Graph> >::vertex_descriptor
template <class Graph>
inline __attribute__((always_inline)) __attribute__((flatten))
auto
in_degree(typename graph_traits<undirected_adaptor<Graph> >::vertex_descriptor u,
const undirected_adaptor<Graph>& g)
in_degree(typename graph_traits<undirected_adaptor<Graph> >::vertex_descriptor,
const undirected_adaptor<Graph>&)
{
return 0;
}
......
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