summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/list.h b/src/list.h
index b52f9fc..f7a6d2f 100644
--- a/src/list.h
+++ b/src/list.h
@@ -250,11 +250,13 @@ namespace Bu
250 } 250 }
251 } 251 }
252 252
253 struct const_iterator;
253 /** 254 /**
254 * An iterator to iterate through your list. 255 * An iterator to iterate through your list.
255 */ 256 */
256 typedef struct iterator 257 typedef struct iterator
257 { 258 {
259 friend struct const_iterator;
258 friend class List<value, cmpfunc, valuealloc, linkalloc>; 260 friend class List<value, cmpfunc, valuealloc, linkalloc>;
259 private: 261 private:
260 Link *pLink; 262 Link *pLink;