Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/boost/http/server/route_handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <boost/http/detail/config.hpp>
#include <boost/http/server/router_types.hpp>
#include <boost/capy/any_bufref.hpp>
#include <boost/capy/buffers/buffer_param.hpp>
#include <boost/capy/buffers.hpp>
#include <boost/capy/datastore.hpp>
#include <boost/capy/task.hpp>
Expand Down Expand Up @@ -242,7 +242,7 @@ struct BOOST_HTTP_SYMBOL_VISIBLE
route_task
write(Buffers const& buffers)
{
return write_impl(capy::any_bufref(buffers));
return write_impl(capy::buffer_param(buffers));
}

/** Complete a streaming response.
Expand Down Expand Up @@ -284,7 +284,7 @@ struct BOOST_HTTP_SYMBOL_VISIBLE

@return A task that completes when the write is done.
*/
virtual route_task write_impl(capy::any_bufref buffers) = 0;
virtual route_task write_impl(capy::buffer_param buffers) = 0;
};

} // http
Expand Down
2 changes: 1 addition & 1 deletion test/unit/server/test_route_handler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct test_route_params : route_params
co_return {};
}

route_task write_impl(capy::any_bufref) override
route_task write_impl(capy::buffer_param) override
{
co_return {};
}
Expand Down
Loading