| From a53f123040998744602f190944464af0e159ea19 Mon Sep 17 00:00:00 2001 |
| From: jjll <jjll@gmv.com> |
| Date: Wed, 6 Sep 2023 20:47:41 +0200 |
| Subject: [PATCH] Compatibility with boost 1.83 |
| |
| Upstream-Status: Backport [https://github.com/cpp-netlib/cpp-netlib/pull/902] |
| Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| --- |
| libs/network/src/server_request_parsers_impl.cpp | 3 ++- |
| 1 file changed, 2 insertions(+), 1 deletion(-) |
| |
| --- a/boost/network/protocol/http/server/impl/parsers.ipp |
| +++ b/boost/network/protocol/http/server/impl/parsers.ipp |
| @@ -13,6 +13,7 @@ |
| #include <tuple> |
| #include <boost/fusion/include/std_tuple.hpp> |
| #include <boost/network/protocol/http/message/header.hpp> |
| +#include <boost/regex/pending/unicode_iterator.hpp> |
| |
| #ifdef BOOST_NETWORK_NO_LIB |
| #ifndef BOOST_NETWORK_INLINE |
| @@ -32,7 +33,7 @@ typedef std::basic_string<uint32_t> u32_ |
| template <> // <typename Attrib, typename T, typename Enable> |
| struct assign_to_container_from_value<std::string, u32_string, void> { |
| static void call(u32_string const& val, std::string& attr) { |
| - u32_to_u8_iterator<u32_string::const_iterator> begin = val.begin(), |
| + boost::u32_to_u8_iterator<u32_string::const_iterator> begin = val.begin(), |
| end = val.end(); |
| for (; begin != end; ++begin) attr += *begin; |
| } |