|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50823 - trunk/boost/graph/detail
From: jewillco_at_[hidden]
Date: 2009-01-27 16:18:03
Author: jewillco
Date: 2009-01-27 16:18:02 EST (Tue, 27 Jan 2009)
New Revision: 50823
URL: http://svn.boost.org/trac/boost/changeset/50823
Log:
Applied patch from #2132, closes #2132
Text files modified:
trunk/boost/graph/detail/sparse_ordering.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/graph/detail/sparse_ordering.hpp
==============================================================================
--- trunk/boost/graph/detail/sparse_ordering.hpp (original)
+++ trunk/boost/graph/detail/sparse_ordering.hpp 2009-01-27 16:18:02 EST (Tue, 27 Jan 2009)
@@ -128,7 +128,7 @@
//
template <class Graph, class Vertex, class ColorMap, class DegreeMap>
Vertex
- pseudo_peripheral_pair(Graph& G, const Vertex& u, int& ecc,
+ pseudo_peripheral_pair(Graph const& G, const Vertex& u, int& ecc,
ColorMap color, DegreeMap degree)
{
typedef typename property_traits<ColorMap>::value_type ColorValue;
@@ -152,7 +152,7 @@
// of the ordering generated by RCM.
//
template <class Graph, class Vertex, class Color, class Degree>
- Vertex find_starting_node(Graph& G, Vertex r, Color color, Degree degree)
+ Vertex find_starting_node(Graph const& G, Vertex r, Color color, Degree degree)
{
Vertex x, y;
int eccen_r, eccen_x;
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