From fee51b8cdccc29c23fae034b7bede7b65e55d887 Mon Sep 17 00:00:00 2001 From: Jeremiah Willcock Date: Tue, 6 Mar 2012 16:23:53 +0000 Subject: [PATCH] Added typename; fixes #6656 [SVN r77248] --- include/boost/graph/subgraph.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/graph/subgraph.hpp b/include/boost/graph/subgraph.hpp index 35815b4b..1860c8ce 100644 --- a/include/boost/graph/subgraph.hpp +++ b/include/boost/graph/subgraph.hpp @@ -141,7 +141,7 @@ public: // Do a deep copy (recursive). // Only the root graph is copied, the subgraphs contain // only references to the global vertices they own. - subgraph::children_iterator i,i_end; + typename subgraph::children_iterator i,i_end; boost::tie(i,i_end) = x.children(); for(; i != i_end; ++i) {