Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58091 - trunk/boost/graph/distributed
From: jewillco_at_[hidden]
Date: 2009-12-01 15:25:31


Author: jewillco
Date: 2009-12-01 15:25:30 EST (Tue, 01 Dec 2009)
New Revision: 58091
URL: http://svn.boost.org/trac/boost/changeset/58091

Log:
Qualified names of get() functions
Text files modified:
   trunk/boost/graph/distributed/betweenness_centrality.hpp | 18 +++++++++---------
   1 files changed, 9 insertions(+), 9 deletions(-)

Modified: trunk/boost/graph/distributed/betweenness_centrality.hpp
==============================================================================
--- trunk/boost/graph/distributed/betweenness_centrality.hpp (original)
+++ trunk/boost/graph/distributed/betweenness_centrality.hpp 2009-12-01 15:25:30 EST (Tue, 01 Dec 2009)
@@ -71,10 +71,10 @@
                    boost::tuple<T1,T2,T3, T4>& t,
                    const unsigned int)
     {
- ar & get<0>(t);
- ar & get<1>(t);
- ar & get<2>(t);
- ar & get<3>(t);
+ ar & boost::tuples::get<0>(t);
+ ar & boost::tuples::get<1>(t);
+ ar & boost::tuples::get<2>(t);
+ ar & boost::tuples::get<3>(t);
     }
 
   } // serialization
@@ -87,7 +87,7 @@
     
     get_owner_of_first_tuple_element(OwnerMap owner) : owner(owner) { }
 
- owner_type get_owner(Tuple t) { return get(owner, get<0>(t)); }
+ owner_type get_owner(Tuple t) { return get(owner, boost::tuples::get<0>(t)); }
 
   private:
     OwnerMap owner;
@@ -911,10 +911,10 @@
     while(!Q.empty()) {
 
       queue_value_type x = Q.top(); Q.pop();
- vertex_descriptor w = get<0>(x);
- vertex_descriptor source = get<1>(x);
- dependency_type dep = get<2>(x);
- path_count_type pc = get<3>(x);
+ vertex_descriptor w = boost::tuples::get<0>(x);
+ vertex_descriptor source = boost::tuples::get<1>(x);
+ dependency_type dep = boost::tuples::get<2>(x);
+ path_count_type pc = boost::tuples::get<3>(x);
 
       cache(dependency, source, dep);
       cache(path_count, source, pc);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk