From 03bdb90920a799b8dff9e9364fd39398d4d78ed8 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Sat, 19 May 2001 02:30:41 +0000 Subject: [PATCH] updated for removal of vertex_and_edge_list_graph_tag [SVN r10148] --- include/boost/graph/copy.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/graph/copy.hpp b/include/boost/graph/copy.hpp index ea9d7b50..b0cd5fde 100644 --- a/include/boost/graph/copy.hpp +++ b/include/boost/graph/copy.hpp @@ -221,8 +221,9 @@ namespace boost { typedef typename Graph::traversal_category Trv; typedef typename Graph::directed_category Dr; enum { algo = - is_convertible::value ? 0 : - is_convertible::value ? 1 : 2 }; + (is_convertible::value + && is_convertible::value) + ? 0 : is_convertible::value ? 1 : 2 }; typedef copy_graph_impl type; };