Skip to content

Commit

Permalink
quic: fix build for macOS
Browse files Browse the repository at this point in the history
PR-URL: #34336
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
gengjiawen committed Jul 28, 2020
1 parent ccbd1d5 commit 7a5fbaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quic/node_quic_stream.cc
Expand Up @@ -160,11 +160,11 @@ int QuicStream::DoShutdown(ShutdownWrap* req_wrap) {

CHECK_NULL(shutdown_done_);
CHECK_NOT_NULL(req_wrap);
shutdown_done_ = std::move([=](int status) {
shutdown_done_ = [=](int status) {
CHECK_NOT_NULL(req_wrap);
shutdown_done_ = nullptr;
req_wrap->Done(status);
});
};

QuicSession::SendSessionScope send_scope(session());

Expand Down

0 comments on commit 7a5fbaf

Please sign in to comment.