Skip to content

Commit 1478b22

Browse files
committed
any_bufref is in capy
1 parent 4ef5009 commit 1478b22

File tree

2 files changed

+3
-95
lines changed

2 files changed

+3
-95
lines changed

include/boost/http/detail/any_bufref.hpp

Lines changed: 0 additions & 92 deletions
This file was deleted.

include/boost/http/server/route_handler.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#define BOOST_HTTP_SERVER_ROUTE_HANDLER_HPP
1212

1313
#include <boost/http/detail/config.hpp>
14-
#include <boost/http/detail/any_bufref.hpp>
1514
#include <boost/http/server/router_types.hpp>
15+
#include <boost/capy/any_bufref.hpp>
1616
#include <boost/capy/buffers.hpp>
1717
#include <boost/capy/datastore.hpp>
1818
#include <boost/capy/task.hpp>
@@ -242,7 +242,7 @@ struct BOOST_HTTP_SYMBOL_VISIBLE
242242
route_task
243243
write(Buffers const& buffers)
244244
{
245-
return write_impl(detail::any_bufref(buffers));
245+
return write_impl(capy::any_bufref(buffers));
246246
}
247247

248248
/** Complete a streaming response.
@@ -284,7 +284,7 @@ struct BOOST_HTTP_SYMBOL_VISIBLE
284284
285285
@return A task that completes when the write is done.
286286
*/
287-
virtual route_task write_impl(detail::any_bufref buffers) = 0;
287+
virtual route_task write_impl(capy::any_bufref buffers) = 0;
288288
};
289289

290290
} // http

0 commit comments

Comments
 (0)