From fbe0af0831f5c1eefe90620e46bbff7014ca7c5b Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Wed, 21 Jan 2004 18:46:08 +0000 Subject: [PATCH] fixed some bugs due to changes in iterator_adaptor::base() [SVN r21864] --- include/boost/graph/adjacency_matrix.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/graph/adjacency_matrix.hpp b/include/boost/graph/adjacency_matrix.hpp index 56beb096..bb5f16fd 100644 --- a/include/boost/graph/adjacency_matrix.hpp +++ b/include/boost/graph/adjacency_matrix.hpp @@ -158,7 +158,7 @@ namespace boost { { } void increment() { - ++this->base(); + ++this->base_reference(); ++m_targ; } @@ -212,12 +212,12 @@ namespace boost { { if (m_targ < m_src) // first half { - ++this->base(); + ++this->base_reference(); } else { // second half ++m_inc; - this->base() += m_inc; + this->base_reference() += m_inc; } ++m_targ; }