Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 142524 Details for
Bug 199587
net-nntp/nget fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nget-0.27.1-gcc42.patch
nget-0.27.1-gcc42.patch (text/plain), 1.54 KB, created by
steveb
on 2008-02-02 18:53:56 UTC
(
hide
)
Description:
nget-0.27.1-gcc42.patch
Filename:
MIME Type:
Creator:
steveb
Created:
2008-02-02 18:53:56 UTC
Size:
1.54 KB
patch
obsolete
>Index: nget/auto_map.h >=================================================================== >--- nget.orig/auto_map.h 2007-05-29 20:11:08.000000000 +0200 >+++ nget/auto_map.h 2007-05-29 20:11:26.000000000 +0200 >@@ -53,11 +53,14 @@ > auto_map_base& operator= (const auto_map_base &m); //private operator= to disallow assignment > }; > >+template <class K, class T> >+class default_map : public std::map<K, T> { >+}; > > template <class K, class T> >-class auto_map : public auto_map_base<K, T, std::map> { >+class auto_map : public auto_map_base<K, T, default_map> { > public: >- typedef typename auto_map_base<K, T, std::map>::super super; >+ typedef typename auto_map_base<K, T, default_map>::super super; > typedef typename super::iterator iterator; > typedef typename super::value_type value_type; > /*super::value_type value_type(const K &k, T*p) { >@@ -74,9 +77,13 @@ > }; > > template <class K, class T> >-class auto_multimap : public auto_map_base<K, T, std::multimap> { >+class default_multimap : public std::multimap<K, T> { >+}; >+ >+template <class K, class T> >+class auto_multimap : public auto_map_base<K, T, default_multimap> { > public: >- typedef typename auto_map_base<K, T, std::multimap>::super super; >+ typedef typename auto_map_base<K, T, default_multimap>::super super; > typedef typename super::iterator iterator; > typedef typename super::value_type value_type; > iterator insert_value(const K &k, T* p) { //we can't really use the normal insert funcs, but we don't want to just name it insert since it would be easy to confuse with all the normal map insert funcs
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 199587
: 142524 |
147370