|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54538 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-06-30 12:55:08
Author: jewillco
Date: 2009-06-30 12:55:07 EDT (Tue, 30 Jun 2009)
New Revision: 54538
URL: http://svn.boost.org/trac/boost/changeset/54538
Log:
Allowed use of reserve_count_for_single_pass with old interface; refs #3134
Text files modified:
trunk/boost/graph/compressed_sparse_row_graph.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/graph/compressed_sparse_row_graph.hpp
==============================================================================
--- trunk/boost/graph/compressed_sparse_row_graph.hpp (original)
+++ trunk/boost/graph/compressed_sparse_row_graph.hpp 2009-06-30 12:55:07 EDT (Tue, 30 Jun 2009)
@@ -134,7 +134,6 @@
template<typename Vertex, typename EdgeIndex>
class csr_edge_descriptor;
-#ifdef BOOST_GRAPH_USE_NEW_CSR_INTERFACE
namespace detail {
template<typename InputIterator>
size_t
@@ -164,6 +163,7 @@
return reserve_count_for_single_pass_helper(first, last, category());
}
+#ifdef BOOST_GRAPH_USE_NEW_CSR_INTERFACE
template <typename T>
struct default_construct_iterator: public boost::iterator_facade<default_construct_iterator<T>, T, boost::random_access_traversal_tag, const T&> {
typedef boost::iterator_facade<default_construct_iterator<T>, T, std::random_access_iterator_tag, const T&> base_type;
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