summaryrefslogtreecommitdiff
path: root/dev-libs/boost/files/boost-1.88.0-range-any_iterator.patch
blob: a147f1f23a69ae1d4ae8433ffebd08524ec8c5d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

From: https://github.com/boostorg/range/commit/1d124e8869a9eb17a235f33d8a7a9f203d09d44b
Patch paths adapted for boost distribution.
Bug: https://bugs.gentoo.org/955526

From 9ac89e9936b826c13e90611cb9a81a7aa0508d20 Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Sun, 30 Mar 2025 21:45:49 -0400
Subject: [PATCH] Add include for add_const

Signed-off-by: Michael Cho <michael@michaelcho.dev>
---
 include/boost/range/detail/any_iterator_interface.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/boost/range/detail/any_iterator_interface.hpp b/include/boost/range/detail/any_iterator_interface.hpp
index 1103be6c..79e71dbd 100644
--- a/boost/range/detail/any_iterator_interface.hpp
+++ b/boost/range/detail/any_iterator_interface.hpp
@@ -13,6 +13,7 @@
 #include <boost/mpl/if.hpp>
 #include <boost/range/detail/any_iterator_buffer.hpp>
 #include <boost/iterator/iterator_categories.hpp>
+#include <boost/type_traits/add_const.hpp>
 #include <boost/type_traits/is_convertible.hpp>
 #include <boost/type_traits/is_reference.hpp>
 #include <boost/type_traits/remove_const.hpp>