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) {