Simplify captured variable type
commit22e156e0aff8fc5fd5420f6da2af16605ae9996e
authorChocobo1 <Chocobo1@users.noreply.github.com>
Mon, 6 Jan 2025 10:22:43 +0000 (6 18:22 +0800)
committerGitHub <noreply@github.com>
Mon, 6 Jan 2025 10:22:43 +0000 (6 18:22 +0800)
tree7e9238511bd4aa48c6606d9345c8543c0e652bac
parent6fe02895a827e268009e8b85079f6599eeda388b
Simplify captured variable type

By capturing the specific data instead of torrent handle the lambda can become non-mutable.

PR #22102.
src/base/bittorrent/sessionimpl.cpp