From 25302ccbd70ddee577282322fb01fdc4c60dd0e2 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Wed, 5 Dec 2001 20:27:12 +0000 Subject: [PATCH] fixed bug, edge -> edges [SVN r11934] --- include/boost/graph/iteration_macros.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/graph/iteration_macros.hpp b/include/boost/graph/iteration_macros.hpp index 6634e11b..bb13b0bf 100644 --- a/include/boost/graph/iteration_macros.hpp +++ b/include/boost/graph/iteration_macros.hpp @@ -44,7 +44,7 @@ for (boost::graph_traits::vertex_descriptor VNAME; \ #define BGL_FORALL_EDGES_T(ENAME, GNAME, GraphType) \ typename boost::graph_traits::edge_iterator BGL_FIRST(__LINE__),\ BGL_LAST(__LINE__); \ -tie(BGL_FIRST(__LINE__), BGL_LAST(__LINE__)) = edge(GNAME); \ +tie(BGL_FIRST(__LINE__), BGL_LAST(__LINE__)) = edges(GNAME); \ for (typename boost::graph_traits::edge_descriptor ENAME; \ BGL_FIRST(__LINE__) != BGL_LAST(__LINE__) ? \ (ENAME = *BGL_FIRST(__LINE__), true) : false;\ @@ -53,7 +53,7 @@ for (typename boost::graph_traits::edge_descriptor ENAME; \ #define BGL_FORALL_EDGES(ENAME, GNAME, GraphType) \ boost::graph_traits::edge_iterator BGL_FIRST(__LINE__),\ BGL_LAST(__LINE__); \ -tie(BGL_FIRST(__LINE__), BGL_LAST(__LINE__)) = edge(GNAME); \ +tie(BGL_FIRST(__LINE__), BGL_LAST(__LINE__)) = edges(GNAME); \ for (boost::graph_traits::edge_descriptor ENAME; \ BGL_FIRST(__LINE__) != BGL_LAST(__LINE__) ? \ (ENAME = *BGL_FIRST(__LINE__), true) : false;\