From 704c650dca3227a2bcd4e0993d0273fce23b0b33 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Tue, 31 Oct 2000 15:15:10 +0000 Subject: [PATCH] fixed regression due to change in get_property(), needed to take address [SVN r8074] --- include/boost/graph/detail/adjacency_list.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/graph/detail/adjacency_list.hpp b/include/boost/graph/detail/adjacency_list.hpp index 174e424c..d2ee772f 100644 --- a/include/boost/graph/detail/adjacency_list.hpp +++ b/include/boost/graph/detail/adjacency_list.hpp @@ -255,7 +255,8 @@ namespace boost { inline Self& operator--() { --m_iter; return *this; } inline Self operator--(int) { Self t=*this; --m_iter; return t; } inline Edge operator*() const { - return Edge(m_iter->m_source, m_iter->m_target, m_iter->get_property()); + return Edge(m_iter->m_source, m_iter->m_target, + &m_iter->get_property()); } inline bool operator==(const Self& x) const { return m_iter == x.m_iter;} inline bool operator!=(const Self& x) const { return m_iter != x.m_iter;}