Skip to content

Commit 7a5fbaf

Browse files
committed
quic: fix build for macOS
PR-URL: #34336 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ccbd1d5 commit 7a5fbaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/quic/node_quic_stream.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ int QuicStream::DoShutdown(ShutdownWrap* req_wrap) {
160160

161161
CHECK_NULL(shutdown_done_);
162162
CHECK_NOT_NULL(req_wrap);
163-
shutdown_done_ = std::move([=](int status) {
163+
shutdown_done_ = [=](int status) {
164164
CHECK_NOT_NULL(req_wrap);
165165
shutdown_done_ = nullptr;
166166
req_wrap->Done(status);
167-
});
167+
};
168168

169169
QuicSession::SendSessionScope send_scope(session());
170170

0 commit comments

Comments
 (0)