Changeset 81771


Ignore:
Timestamp:
Dec 7, 2012, 7:30:28 PM (6 years ago)
Author:
Jeremiah Willcock
Message:

Fixed adding properties in labeled_graph; fixes #7773

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/boost/graph/labeled_graph.hpp

    r81218 r81771  
    141141    template <typename Container, typename Graph, typename Label, typename Prop>
    142142    std::pair<typename graph_traits<Graph>::vertex_descriptor, bool>
    143     insert_labeled_vertex(Container& c, Graph& g, Label const& l, Prop const&,
     143    insert_labeled_vertex(Container& c, Graph& g, Label const& l, Prop const& p,
    144144                          unique_associative_container_tag)
    145145    {
     
    151151        if(x.second) {
    152152            x.first->second = add_vertex(g);
     153            put(boost::vertex_all, g, x.first->second, p);
    153154        }
    154155        return std::make_pair(x.first->second, x.second);
Note: See TracChangeset for help on using the changeset viewer.