summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--lib/list.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index f831d45..ce211a8 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ This file lists all the major user-visible changes to nullmailer.
-------------------------------------------------------------------------------
Changes in version 1.01
+- Fixed compile error in lib/list.h
Development of this version has been sponsored by FutureQuest, Inc.
ossi@FutureQuest.net http://www.FutureQuest.net/
diff --git a/lib/list.h b/lib/list.h
index a292dc0..3bbd750 100644
--- a/lib/list.h
+++ b/lib/list.h
@@ -18,8 +18,8 @@ public:
typedef list_node<T> node;
typedef list_iterator<T> iter;
typedef const_list_iterator<T> const_iter;
- friend class iter;
- friend class const_iter;
+ friend class list_iterator<T>;
+ friend class const_list_iterator<T>;
list()
: head(0), tail(0), cnt(0)