| 1 | Descriptionscip-debian debian bobdude 1.5.0+svn75-2 bobdude/patches/`1001_boost-1.81.patch`#Description.: .to_string() deprecated since Boost 1.81. |
| 2 | Authorscip-debian debian bobdude 1.5.0+svn75-2 bobdude/patches/`1001_boost-1.81.patch`#Author.: Mike Gabriel <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 | Commentscip-debian debian bobdude 1.5.0+svn75-2 bobdude/patches/`1001_boost-1.81.patch`#Comment.: Inspired by https://github.com/boostorg/core/issues/142 |
| 4 | |
| 5 | --- a/orca/orca_main.cppscip-debian debian bobdude 1.5.0+svn75-2 bobdude/upstream/`orca/orca_main.cpp`: |
| 6 | +++ b/orca/orca_main.cppscip-debian debian bobdude 1.5.0+svn75-2 bobdude/upstream/`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 | } |