Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 875421 Details for
Bug 917795
dev-cpp/lucene++-3.0.7* error: no template named 'unary_function' in namespace 'std'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove-unary-function.patch
remove-unary-function.patch (text/plain), 601 bytes, created by
David Carlos Manuelda
on 2023-11-23 12:10:09 UTC
(
hide
)
Description:
remove-unary-function.patch
Filename:
MIME Type:
Creator:
David Carlos Manuelda
Created:
2023-11-23 12:10:09 UTC
Size:
601 bytes
patch
obsolete
>--- a/include/Lucene.h 2023-11-23 13:05:01.165486178 +0100 >+++ b/include/Lucene.h 2023-11-23 13:05:22.120595134 +0100 >@@ -128,14 +128,14 @@ > }; > > template <class TYPE> >-struct luceneHash : std::unary_function<TYPE, std::size_t> { >+struct luceneHash { > std::size_t operator()(const TYPE& type) const { > return type ? type->hashCode() : 0; > } > }; > > template <class TYPE> >-struct luceneWeakHash : std::unary_function<TYPE, std::size_t> { >+struct luceneWeakHash { > std::size_t operator()(const TYPE& type) const { > return type.expired() ? 0 : type.lock()->hashCode(); > }
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 917795
:
875412
|
875413
|
875414
| 875421