forked from boostorg/beast
Restyle async result constructions
This commit is contained in:
1 parent
572a0eb490
commit
264fd41342
15 files changed
+23
-22
No files matched your search
@@ -289,7 +289,7 @@ async_parse(AsyncReadStream& stream,
|
||||
static_assert(is_Parser<Parser>::value,
|
||||
"Parser requirements not met");
|
||||
beast::async_completion<ReadHandler,
|
||||
void(error_code)> completion(handler);
|
||||
void(error_code)> completion{handler};
|
||||
detail::parse_op<AsyncReadStream, DynamicBuffer,
|
||||
Parser, decltype(completion.handler)>{
|
||||
completion.handler, stream, dynabuf, parser};
|
||||
|
||||
Reference in new issue
Block a user