Skip to content

Commit 10decca

Browse files
committed
Remove spawn.hpp and related changes
1 parent 7d54c6e commit 10decca

File tree

4 files changed

+1
-94
lines changed

4 files changed

+1
-94
lines changed

example/server/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <boost/beast2/server/serve_static.hpp>
1717
#include <boost/beast2/error.hpp>
1818
#include <boost/capy/application.hpp>
19-
#include <boost/capy/async_result.hpp>
2019
#include <boost/capy/thread_pool.hpp>
2120
#include <boost/http_proto/request_parser.hpp>
2221
#include <boost/http_proto/serializer.hpp>
@@ -133,7 +132,7 @@ my_coro(
133132
{
134133
(void)rp;
135134
asio::thread_pool tp(1);
136-
co_await capy::make_async_result<void>(
135+
co_await capy::make_async_op<void>(
137136
[&tp](auto&& handler)
138137
{
139138
asio::post(tp.get_executor(),

include/boost/beast2.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#include <boost/beast2/logger.hpp>
4141
#include <boost/beast2/body_read_stream.hpp>
4242
#include <boost/beast2/read.hpp>
43-
#include <boost/beast2/spawn.hpp>
4443
//#include <boost/beast2/ssl_stream.hpp>
4544
#include <boost/beast2/write.hpp>
4645

include/boost/beast2/spawn.hpp

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

test/unit/stream.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//#include <boost/beast2/stream.hpp>
1212

1313
#include <boost/beast2/detail/config.hpp>
14-
#include <boost/beast2/spawn.hpp>
1514
#include <boost/beast2/test/stream.hpp>
1615
#include <boost/buffers/any_stream.hpp>
1716
#include <boost/asio/use_awaitable.hpp>

0 commit comments

Comments
 (0)