Description: .to_string() deprecated since Boost 1.81. Author: Mike Gabriel Comment: Inspired by https://github.com/boostorg/core/issues/142 --- a/orca/orca_main.cpp +++ b/orca/orca_main.cpp @@ -182,7 +182,11 @@ response_.set(http::field::content_type, "text/plain"); boost::beast::ostream(response_.body()) << "Invalid request-method '" +#if BOOST_VERSION >= 108100 + << request_.method_string() +#else << request_.method_string().to_string() +#endif << "'"; break; }