Remove ALL_OBJFILES_SAFE
[deliverable/binutils-gdb.git] / gdb / common / next-iterator.h
index 588ebfd9d1f1433e10524877bccda2524dce1a92..b61b253bd9d6ea69b06a14ee62150a9b21aa677f 100644 (file)
@@ -72,7 +72,7 @@ private:
 
 /* A range adapter that allows iterating over a linked list.  */
 
-template<typename T>
+template<typename T, typename Iterator = next_iterator<T>>
 class next_adapter
 {
 public:
@@ -82,7 +82,7 @@ public:
   {
   }
 
-  using iterator = next_iterator<T>;
+  using iterator = Iterator;
 
   iterator begin () const
   {
This page took 0.025429 seconds and 4 git commands to generate.