2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-11 11:52:12 +00:00

updated for removal of vertex_and_edge_list_graph_tag

[SVN r10148]
This commit is contained in:
Jeremy Siek
2001-05-19 02:30:41 +00:00
parent 770d1be136
commit 03bdb90920

View File

@@ -221,8 +221,9 @@ namespace boost {
typedef typename Graph::traversal_category Trv;
typedef typename Graph::directed_category Dr;
enum { algo =
is_convertible<Trv, vertex_and_edge_list_graph_tag>::value ? 0 :
is_convertible<Dr, directed_tag>::value ? 1 : 2 };
(is_convertible<Trv, vertex_list_graph_tag>::value
&& is_convertible<Trv, edge_list_graph_tag>::value)
? 0 : is_convertible<Dr, directed_tag>::value ? 1 : 2 };
typedef copy_graph_impl<algo> type;
};