Ticket #6839: fix_named_graph.patch

File fix_named_graph.patch, 848 bytes (added by sjeltsch@…, 10 years ago)

missed one constructor

  • boost/graph/distributed/named_graph.hpp

     
    11991199  typedef typename Config::distribution_type distribution_type;
    12001200  typedef typename Config::base_distribution_type base_distribution_type;
    12011201
    1202   explicit maybe_named_graph(const process_group_type&)  { }
     1202  explicit maybe_named_graph(const process_group_type& pg)
     1203    : pg(pg) { }
    12031204
    12041205  maybe_named_graph(const process_group_type& pg,
    12051206                    const base_distribution_type& distribution)
    1206     : distribution_(pg, distribution) { }
     1207    : pg(pg), distribution_(pg, distribution) { }
    12071208
    12081209  /// Notify the named_graph that we have added the given vertex. This
    12091210  /// is a no-op.