From b0531849e437913db97d3c0086327704a3b04787 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 6 Apr 2009 22:28:15 +0000 Subject: david - some odd problems with old gcc --- src/list.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 } } + struct const_iterator; /** * An iterator to iterate through your list. */ typedef struct iterator { + friend struct const_iterator; friend class List; private: Link *pLink; -- cgit v1.2.3