mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
Post gcc 3.4.2 fixup.
This commit is contained in:
parent
08314a31da
commit
ca43881a49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115191
35
mail/nullmailer/files/patch-lib-list.h
Normal file
35
mail/nullmailer/files/patch-lib-list.h
Normal file
@ -0,0 +1,35 @@
|
||||
--- lib/list.h~ Sun Aug 1 15:46:43 2004
|
||||
+++ lib/list.h Sun Aug 1 16:26:21 2004
|
||||
@@ -18,8 +18,8 @@
|
||||
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)
|
||||
@@ -111,8 +111,8 @@
|
||||
}
|
||||
private:
|
||||
const list<T>& lst;
|
||||
- const list<T>::node* prev;
|
||||
- const list<T>::node* curr;
|
||||
+ const typename list<T>::node* prev;
|
||||
+ const typename list<T>::node* curr;
|
||||
};
|
||||
|
||||
template<class T>
|
||||
@@ -164,8 +164,8 @@
|
||||
}
|
||||
private:
|
||||
list<T>& lst;
|
||||
- list<T>::node* prev;
|
||||
- list<T>::node* curr;
|
||||
+ typename list<T>::node* prev;
|
||||
+ typename list<T>::node* curr;
|
||||
};
|
||||
|
||||
template<class T>
|
Loading…
x
Reference in New Issue
Block a user