Fix compilation against boost 1.81.0
This commit is contained in:
parent
5f25e6e8b7
commit
31d1025b85
|
@ -157,7 +157,9 @@ void Session::received(boost::system::error_code ec, size_t bytesTransferred)
|
||||||
}
|
}
|
||||||
cerr << flush;
|
cerr << flush;
|
||||||
#endif
|
#endif
|
||||||
respond(Render::makeNotFound(request, "route \"" % request.method_string().to_string() % ' ' % request.target().to_string() + '\"'));
|
const auto methodString = request.method_string();
|
||||||
|
const auto targetString = request.target();
|
||||||
|
respond(Render::makeNotFound(request, argsToString("route \"", std::string_view(methodString.data(), methodString.size()), ' ', std::string_view(targetString.data(), targetString.size()), '\"')));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Session::respond(std::shared_ptr<Response> &&response)
|
void Session::respond(std::shared_ptr<Response> &&response)
|
||||||
|
|
Loading…
Reference in New Issue