Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame^] | 1 | From a53f123040998744602f190944464af0e159ea19 Mon Sep 17 00:00:00 2001 |
| 2 | From: jjll <jjll@gmv.com> |
| 3 | Date: Wed, 6 Sep 2023 20:47:41 +0200 |
| 4 | Subject: [PATCH] Compatibility with boost 1.83 |
| 5 | |
| 6 | Upstream-Status: Backport [https://github.com/cpp-netlib/cpp-netlib/pull/902] |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | --- |
| 9 | libs/network/src/server_request_parsers_impl.cpp | 3 ++- |
| 10 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 11 | |
| 12 | --- a/boost/network/protocol/http/server/impl/parsers.ipp |
| 13 | +++ b/boost/network/protocol/http/server/impl/parsers.ipp |
| 14 | @@ -13,6 +13,7 @@ |
| 15 | #include <tuple> |
| 16 | #include <boost/fusion/include/std_tuple.hpp> |
| 17 | #include <boost/network/protocol/http/message/header.hpp> |
| 18 | +#include <boost/regex/pending/unicode_iterator.hpp> |
| 19 | |
| 20 | #ifdef BOOST_NETWORK_NO_LIB |
| 21 | #ifndef BOOST_NETWORK_INLINE |
| 22 | @@ -32,7 +33,7 @@ typedef std::basic_string<uint32_t> u32_ |
| 23 | template <> // <typename Attrib, typename T, typename Enable> |
| 24 | struct assign_to_container_from_value<std::string, u32_string, void> { |
| 25 | static void call(u32_string const& val, std::string& attr) { |
| 26 | - u32_to_u8_iterator<u32_string::const_iterator> begin = val.begin(), |
| 27 | + boost::u32_to_u8_iterator<u32_string::const_iterator> begin = val.begin(), |
| 28 | end = val.end(); |
| 29 | for (; begin != end; ++begin) attr += *begin; |
| 30 | } |