diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-17 17:57:25 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-07-17 17:57:25 +0000 |
commit | 1cacae0f297b7330c4cd2b4f0a1f95ab2615bd65 (patch) | |
tree | 593a889100299c56846e308520ddfa55793fc09f | |
parent | a532bcec2f8b766ec2b623c715fab662e2d2e31d (diff) | |
download | external_llvm-1cacae0f297b7330c4cd2b4f0a1f95ab2615bd65.zip external_llvm-1cacae0f297b7330c4cd2b4f0a1f95ab2615bd65.tar.gz external_llvm-1cacae0f297b7330c4cd2b4f0a1f95ab2615bd65.tar.bz2 |
Fix broken ipo_ext_iterator constructors.
These functions have obviously never been used before.
They should be identical to the idf_ext_iterator counterparts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160381 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/PostOrderIterator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/ADT/PostOrderIterator.h b/include/llvm/ADT/PostOrderIterator.h index c0e3829..7f6350e 100644 --- a/include/llvm/ADT/PostOrderIterator.h +++ b/include/llvm/ADT/PostOrderIterator.h @@ -212,14 +212,14 @@ ipo_iterator<T> ipo_end(T G){ return ipo_iterator<T>::end(G); } -//Provide global definitions of external inverse postorder iterators... +// Provide global definitions of external inverse postorder iterators... template <class T, class SetType = std::set<typename GraphTraits<T>::NodeType*> > struct ipo_ext_iterator : public ipo_iterator<T, SetType, true> { ipo_ext_iterator(const ipo_iterator<T, SetType, true> &V) : - ipo_iterator<T, SetType, true>(&V) {} + ipo_iterator<T, SetType, true>(V) {} ipo_ext_iterator(const po_iterator<Inverse<T>, SetType, true> &V) : - ipo_iterator<T, SetType, true>(&V) {} + ipo_iterator<T, SetType, true>(V) {} }; template <class T, class SetType> |