Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66528 - trunk/libs/graph/src
From: jewillco_at_[hidden]
Date: 2010-11-12 10:34:21


Author: jewillco
Date: 2010-11-12 10:34:20 EST (Fri, 12 Nov 2010)
New Revision: 66528
URL: http://svn.boost.org/trac/boost/changeset/66528

Log:
Removed access to (unused) edge id attribute, also making that attribute optional; fixes #4843
Text files modified:
   trunk/libs/graph/src/graphml.cpp | 1 -
   1 files changed, 0 insertions(+), 1 deletions(-)

Modified: trunk/libs/graph/src/graphml.cpp
==============================================================================
--- trunk/libs/graph/src/graphml.cpp (original)
+++ trunk/libs/graph/src/graphml.cpp 2010-11-12 10:34:20 EST (Fri, 12 Nov 2010)
@@ -92,7 +92,6 @@
         // Search for edges
         BOOST_FOREACH(const ptree::value_type& edge, *gr) {
           if (edge.first != "edge") continue;
- std::string id = edge.second.get<std::string>(path("<xmlattr>/id"));
           std::string source = edge.second.get<std::string>(path("<xmlattr>/source"));
           std::string target = edge.second.get<std::string>(path("<xmlattr>/target"));
           std::string local_directed = edge.second.get(path("<xmlattr>/directed"), "");


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