diff options
author | David <david@xagasoft.com> | 2009-04-06 22:28:15 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2009-04-06 22:28:15 +0000 |
commit | b0531849e437913db97d3c0086327704a3b04787 (patch) | |
tree | e8b4398c07e3f19af09551bbfd58c6abbe3a07e7 | |
parent | 514721c24c7212c084ad2530e8239ff121097818 (diff) | |
download | libbu++-b0531849e437913db97d3c0086327704a3b04787.tar.gz libbu++-b0531849e437913db97d3c0086327704a3b04787.tar.bz2 libbu++-b0531849e437913db97d3c0086327704a3b04787.tar.xz libbu++-b0531849e437913db97d3c0086327704a3b04787.zip |
david - some odd problems with old gcc
-rw-r--r-- | src/list.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |