Skip to content

Commit 7cb7e20

Browse files
committed
Update picoquic fix.
1 parent debf4da commit 7cb7e20

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/transport_picoquic.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ PicoQuicTransport::CreateDataContextBiDirRecv(TransportConnId conn_id, uint64_t
954954
data_ctx_it->second.current_stream_id = stream_id;
955955

956956
#if __cplusplus >= 202002L
957-
cbNotifyQueue_.push([=, data_ctx_id = data_ctx_it->second.data_ctx_id, this]() {
957+
cbNotifyQueue_.Push([=, data_ctx_id = data_ctx_it->second.data_ctx_id, this]() {
958958
#else
959959
cbNotifyQueue_.Push([=, data_ctx_id = data_ctx_it->second.data_ctx_id]() {
960960
#endif
@@ -1311,7 +1311,7 @@ PicoQuicTransport::OnConnectionStatus(const TransportConnId conn_id, const Trans
13111311
}
13121312

13131313
#if __cplusplus >= 202002L
1314-
_cbNotifyQueue.push([=, this]() { _delegate.on_connection_status(conn_id, status); });
1314+
cbNotifyQueue_.Push([=, this]() { delegate_.OnConnectionStatus(conn_id, status); });
13151315
#else
13161316
cbNotifyQueue_.Push([=]() { delegate_.OnConnectionStatus(conn_id, status); });
13171317
#endif
@@ -1344,7 +1344,7 @@ PicoQuicTransport::OnNewConnection(const TransportConnId conn_id)
13441344
}
13451345

13461346
#if __cplusplus >= 202002L
1347-
_cbNotifyQueue.push([=, this]() { _delegate.on_new_connection(conn_id, remote); });
1347+
cbNotifyQueue_.Push([=, this]() { delegate_.OnNewConnection(conn_id, remote); });
13481348
#else
13491349
cbNotifyQueue_.Push([=]() { delegate_.OnNewConnection(conn_id, remote); });
13501350
#endif
@@ -1371,7 +1371,7 @@ PicoQuicTransport::OnRecvDatagram(ConnectionContext* conn_ctx, uint8_t* bytes, s
13711371
}
13721372

13731373
#if __cplusplus >= 202002L
1374-
if (conn_ctx->dgram_rx_data->Size() < 10 && !_cbNotifyQueue.Push([=, this]() {
1374+
if (conn_ctx->dgram_rx_data->Size() < 10 && !cbNotifyQueue_.Push([=, this]() {
13751375
#else
13761376
if (conn_ctx->dgram_rx_data->Size() < 10 && !cbNotifyQueue_.Push([=]() {
13771377
#endif
@@ -1416,7 +1416,7 @@ PicoQuicTransport::OnRecvStreamBytes(ConnectionContext* conn_ctx,
14161416
data_ctx->metrics.rx_stream_bytes += bytes.size();
14171417

14181418
#if __cplusplus >= 202002L
1419-
if (!_cbNotifyQueue.push([=, this]() {
1419+
if (!cbNotifyQueue_.Push([=, this]() {
14201420
#else
14211421
if (!cbNotifyQueue_.Push([=]() {
14221422
#endif
@@ -1429,7 +1429,7 @@ PicoQuicTransport::OnRecvStreamBytes(ConnectionContext* conn_ctx,
14291429

14301430
} else {
14311431
#if __cplusplus >= 202002L
1432-
if (!_cbNotifyQueue.push([=, this]() {
1432+
if (!cbNotifyQueue_.Push([=, this]() {
14331433
#else
14341434
if (!cbNotifyQueue_.Push([=]() {
14351435
#endif

0 commit comments

Comments
 (0)