diff --git a/include/Support/DepthFirstIterator.h b/include/Support/DepthFirstIterator.h index edb8b2d6bd9..7df5c26f98d 100644 --- a/include/Support/DepthFirstIterator.h +++ b/include/Support/DepthFirstIterator.h @@ -162,7 +162,7 @@ df_iterator df_end(T G) { } // Provide global definitions of external depth first iterators... -template +template ::NodeType*> > struct df_ext_iterator : public df_iterator { df_ext_iterator(const df_iterator &V) : df_iterator(V) {} diff --git a/include/llvm/ADT/DepthFirstIterator.h b/include/llvm/ADT/DepthFirstIterator.h index edb8b2d6bd9..7df5c26f98d 100644 --- a/include/llvm/ADT/DepthFirstIterator.h +++ b/include/llvm/ADT/DepthFirstIterator.h @@ -162,7 +162,7 @@ df_iterator df_end(T G) { } // Provide global definitions of external depth first iterators... -template +template ::NodeType*> > struct df_ext_iterator : public df_iterator { df_ext_iterator(const df_iterator &V) : df_iterator(V) {}