summaryrefslogtreecommitdiff
path: root/boost/graph/neighbor_bfs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/graph/neighbor_bfs.hpp')
-rw-r--r--boost/graph/neighbor_bfs.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/boost/graph/neighbor_bfs.hpp b/boost/graph/neighbor_bfs.hpp
index 4585f2e298..4830dcc4ed 100644
--- a/boost/graph/neighbor_bfs.hpp
+++ b/boost/graph/neighbor_bfs.hpp
@@ -250,13 +250,13 @@ namespace boost {
};
template <>
- struct neighbor_bfs_dispatch<detail::error_property_not_found> {
+ struct neighbor_bfs_dispatch<param_not_found> {
template <class VertexListGraph, class P, class T, class R>
static void apply
(VertexListGraph& g,
typename graph_traits<VertexListGraph>::vertex_descriptor s,
const bgl_named_params<P, T, R>& params,
- detail::error_property_not_found)
+ param_not_found)
{
std::vector<default_color_type> color_vec(num_vertices(g));
null_visitor null_vis;
@@ -288,8 +288,7 @@ namespace boost {
// graph is not really const since we may write to property maps
// of the graph.
VertexListGraph& ng = const_cast<VertexListGraph&>(g);
- 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::neighbor_bfs_dispatch<C>::apply(ng, s, params,
get_param(params, vertex_color));
}