diff options
Diffstat (limited to 'boost/graph/undirected_dfs.hpp')
-rw-r--r-- | boost/graph/undirected_dfs.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/boost/graph/undirected_dfs.hpp b/boost/graph/undirected_dfs.hpp index df31d22b2b..a3e1c038fd 100644 --- a/boost/graph/undirected_dfs.hpp +++ b/boost/graph/undirected_dfs.hpp @@ -188,7 +188,7 @@ namespace boost { }; template <> - struct udfs_dispatch<detail::error_property_not_found> { + struct udfs_dispatch<param_not_found> { template <typename Graph, typename Vertex, typename DFSVisitor, typename EdgeColorMap, typename P, typename T, typename R> @@ -196,7 +196,7 @@ namespace boost { apply(const Graph& g, DFSVisitor vis, Vertex start_vertex, const bgl_named_params<P, T, R>& params, EdgeColorMap edge_color, - detail::error_property_not_found) + param_not_found) { std::vector<default_color_type> color_vec(num_vertices(g)); default_color_type c = white_color; // avoid warning about un-init @@ -219,8 +219,7 @@ namespace boost { undirected_dfs(const Graph& g, const bgl_named_params<P, T, R>& params) { - typedef typename property_value< bgl_named_params<P, T, R>, - vertex_color_t>::type C; + typedef typename get_param_type< vertex_color_t, bgl_named_params<P, T, R> >::type C; detail::udfs_dispatch<C>::apply (g, choose_param(get_param(params, graph_visitor), |