mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
capture by value not reference
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user