mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-13 00:07:39 +01:00
use refernce not copy
This commit is contained in:
parent
4643c92d33
commit
b7a67b4b03
1 changed files with 1 additions and 1 deletions
|
@ -810,7 +810,7 @@ namespace client
|
||||||
if (session)
|
if (session)
|
||||||
{
|
{
|
||||||
// find more pending acceptors
|
// find more pending acceptors
|
||||||
for (auto it: m_Owner.ListSockets (m_ID))
|
for (auto & it: m_Owner.ListSockets (m_ID))
|
||||||
if (it->m_SocketType == eSAMSocketTypeAcceptor)
|
if (it->m_SocketType == eSAMSocketTypeAcceptor)
|
||||||
{
|
{
|
||||||
it->m_IsAccepting = true;
|
it->m_IsAccepting = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue