mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 09:56:35 +02:00
capture by value not reference
This commit is contained in:
parent
cbb1d2d3b5
commit
2940f0d67c
1 changed files with 1 additions and 1 deletions
|
@ -1013,7 +1013,7 @@ namespace transport
|
|||
void NTCPServer::Connect(const boost::asio::ip::address & address, uint16_t port, std::shared_ptr<NTCPSession> conn)
|
||||
{
|
||||
LogPrint (eLogDebug, "NTCP: Connecting to ", address ,":", port);
|
||||
m_Service.post([&]() {
|
||||
m_Service.post([=]() {
|
||||
if (this->AddNTCPSession (conn))
|
||||
{
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue