Fix broken ipo_ext_iterator constructors.
[oota-llvm.git] / include / llvm / ADT / ilist.h
index bcacfd9df4266f65289d5efa88f25bda838e9e0c..ba9864a98a7e8d72ee1f0b4df6da69701c2e7f39 100644 (file)
@@ -652,10 +652,6 @@ struct ilist : public iplist<NodeTy> {
   void push_front(const NodeTy &val) { insert(this->begin(), val); }
   void push_back(const NodeTy &val) { insert(this->end(), val); }
 
-  // Special forms of insert...
-  template<class InIt> void insert(iterator where, InIt first, InIt last) {
-    for (; first != last; ++first) insert(where, *first);
-  }
   void insert(iterator where, size_type count, const NodeTy &val) {
     for (; count != 0; --count) insert(where, val);
   }