|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56339 - trunk/boost/graph/detail
From: jewillco_at_[hidden]
Date: 2009-09-21 12:15:21
Author: jewillco
Date: 2009-09-21 12:15:21 EDT (Mon, 21 Sep 2009)
New Revision: 56339
URL: http://svn.boost.org/trac/boost/changeset/56339
Log:
Made some members public to appease various gcc versions
Text files modified:
trunk/boost/graph/detail/compressed_sparse_row_struct.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/graph/detail/compressed_sparse_row_struct.hpp
==============================================================================
--- trunk/boost/graph/detail/compressed_sparse_row_struct.hpp (original)
+++ trunk/boost/graph/detail/compressed_sparse_row_struct.hpp 2009-09-21 12:15:21 EDT (Mon, 21 Sep 2009)
@@ -445,7 +445,7 @@
// Implicit copy constructor OK
explicit csr_out_edge_iterator(edge_descriptor edge) : m_edge(edge) { }
- private:
+ public: // GCC 4.2.1 doesn't like the private-and-friend thing
// iterator_facade requirements
const edge_descriptor& dereference() const { return m_edge; }
@@ -484,7 +484,7 @@
: rowstart_array(&graph.m_forward.m_rowstart[0]), current_edge(current_edge),
end_of_this_vertex(end_of_this_vertex) {}
- private:
+ public: // See above
friend class boost::iterator_core_access;
edge_descriptor dereference() const {return current_edge;}
@@ -524,7 +524,7 @@
EdgeIndex index_in_backward_graph)
: m_graph(graph), m_index_in_backward_graph(index_in_backward_graph) {}
- private:
+ public: // See above
// iterator_facade requirements
edge_descriptor dereference() const {
return edge_descriptor(
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