summaryrefslogtreecommitdiff
path: root/patches/wownero/0018-fix-unary_function-__unary_function.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/wownero/0018-fix-unary_function-__unary_function.patch')
-rw-r--r--patches/wownero/0018-fix-unary_function-__unary_function.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/patches/wownero/0018-fix-unary_function-__unary_function.patch b/patches/wownero/0018-fix-unary_function-__unary_function.patch
deleted file mode 100644
index 5fc385c..0000000
--- a/patches/wownero/0018-fix-unary_function-__unary_function.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From e488eaa7397d388cee6e914e10d23790f005f6f7 Mon Sep 17 00:00:00 2001
-From: Czarek Nakamoto <cyjan@mrcyjanek.net>
-Date: Thu, 10 Apr 2025 13:28:06 +0200
-Subject: [PATCH] fix: unary_function -> __unary_function
-
----
- src/cryptonote_basic/cryptonote_basic_impl.h | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/cryptonote_basic/cryptonote_basic_impl.h b/src/cryptonote_basic/cryptonote_basic_impl.h
-index b423573..a9aef7a 100644
---- a/src/cryptonote_basic/cryptonote_basic_impl.h
-+++ b/src/cryptonote_basic/cryptonote_basic_impl.h
-@@ -40,7 +40,11 @@ namespace cryptonote {
- /* */
- /************************************************************************/
- template<class t_array>
-+#ifdef __APPLE__
-+ struct array_hasher: std::__unary_function<t_array&, std::size_t>
-+#else
- struct array_hasher: std::unary_function<t_array&, std::size_t>
-+#endif
- {
- std::size_t operator()(const t_array& val) const
- {
---
-2.49.0
-