]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/graph/stoer_wagner_min_cut.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / graph / stoer_wagner_min_cut.hpp
index eb5998c7105d391a6e06711d14e54d58d0dc2771..357f170840c9134ef7c3a53bcea81bcf794ec8f4 100644 (file)
@@ -215,9 +215,10 @@ namespace graph {
 
         typename boost::result_of<gen_type(const UndirectedGraph&, const ArgPack&)>::type pq = gen(g, arg_pack);
 
+        boost::dummy_property_map dummy_prop;
         return boost::stoer_wagner_min_cut(g,
           weights,
-          arg_pack [_parity_map | boost::dummy_property_map()],
+          arg_pack [_parity_map | dummy_prop],
           boost::detail::make_property_map_from_arg_pack_gen<tag::vertex_assignment_map, vertex_descriptor>(vertex_descriptor())(g, arg_pack),
           pq,
           boost::detail::override_const_property(arg_pack, _vertex_index_map, g, vertex_index)