Debian Codegraph @

debian/patches/1001_boost-1.81.patch

raw symbols SCIP
1 Description: .to_string() deprecated since Boost 1.81.
2 Author: Mike Gabriel <[email protected]>
3 Comment: Inspired by https://github.com/boostorg/core/issues/142
4
5 --- a/orca/orca_main.cpp
6 +++ b/orca/orca_main.cpp
7 @@ -182,7 +182,11 @@
8 response_.set(http::field::content_type, "text/plain");
9 boost::beast::ostream(response_.body())
10 << "Invalid request-method '"
11 +#if BOOST_VERSION >= 108100
12 + << request_.method_string()
13 +#else
14 << request_.method_string().to_string()
15 +#endif
16 << "'";
17 break;
18 }