diff options
| author | Hanjie Wu <wu@x-nagi.com> | 2023-12-16 11:16:43 -0800 |
|---|---|---|
| committer | Hanjie Wu <wu@x-nagi.com> | 2023-12-16 11:16:43 -0800 |
| commit | 2ff458d223762c2004d41a4d04e6a67f0a093fd6 (patch) | |
| tree | 16f754fc3bbb820a3cef8e645158b88cf5eeeb19 /src/libutp/utp_internal.cpp | |
| parent | 9204582c0e6a77fcff97b1eb923e908280248eec (diff) | |
bugfix
Diffstat (limited to 'src/libutp/utp_internal.cpp')
| -rw-r--r-- | src/libutp/utp_internal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutp/utp_internal.cpp b/src/libutp/utp_internal.cpp index 8c1b2a86..34281fe9 100644 --- a/src/libutp/utp_internal.cpp +++ b/src/libutp/utp_internal.cpp @@ -3284,7 +3284,7 @@ void utp_check_timeouts(utp_context *ctx) infos.shrink_to_fit(); ctx->utp_sockets.erase_if( - [](auto& item){ + [](const UTPSocketHT::Map::iterator & item){ auto& conn = item->second; conn->check_timeouts(); return conn->state == CS_DESTROY; |
