fix (reverse) interator types of list tracker
Stefan Schuermans

Stefan Schuermans commited on 2011-12-11 01:02:51
Showing 2 changed files, with 5 additions and 2 deletions.

... ...
@@ -35,7 +35,10 @@ public:
35 35
   typedef std::list<Entry> List;
36 36
 
37 37
   /// list iterator
38
-  typedef typename List::const_reverse_iterator ListIt;
38
+  typedef typename List::const_iterator ListIt;
39
+
40
+  /// reverse list iterator
41
+  typedef typename List::const_reverse_iterator ListRevIt;
39 42
 
40 43
 public:
41 44
   /**
... ...
@@ -32,7 +32,7 @@ protected:
32 32
   typedef ListTracker<Priority, Input, Directory> InListTracker;
33 33
 
34 34
   /// input list iterator
35
-  typedef InListTracker::ListIt InListIt;
35
+  typedef InListTracker::ListRevIt InListIt;
36 36
 
37 37
 public:
38 38
   /**
39 39