Ticket #4384: labeled_graph.hpp.diff

File labeled_graph.hpp.diff, 943 bytes (added by Yuri Karaban <tech@…>, 12 years ago)

Patch changes g.impl() to g.graph() in labeled_graph.hpp get/put functions

  • labeled_graph.hpp

    old new get(Prop p, LABELED_GRAPH& g)  
    694694template <LABELED_GRAPH_PARAMS, typename Prop>
    695695inline typename property_map<LABELED_GRAPH, Prop>::const_type
    696696get(Prop p, LABELED_GRAPH const& g)
    697 { return get(p, g.impl()); }
     697{ return get(p, g.graph()); }
    698698
    699699template <LABELED_GRAPH_PARAMS, typename Prop, typename Key>
    700700inline typename property_traits<
    701701    typename property_map<typename LABELED_GRAPH::graph_type, Prop>::const_type
    702702>::value_type
    703703get(Prop p, LABELED_GRAPH const& g, const Key& k)
    704 { return get(p, g.impl(), k); }
     704{ return get(p, g.graph(), k); }
    705705
    706706template <LABELED_GRAPH_PARAMS, typename Prop, typename Key, typename Value>
    707707inline void
    708708put(Prop p, LABELED_GRAPH& g, Key const& k, Value const& v)
    709 { put(p, g.impl(), k, v); }
     709{ put(p, g.graph(), k, v); }
    710710//@}
    711711
    712712/** @name Mutable Graph */