Browse Source

use refernce not copy

pull/1169/head
Jeff Becker 7 years ago
parent
commit
b7a67b4b03
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
  1. 2
      libi2pd_client/SAM.cpp

2
libi2pd_client/SAM.cpp

@ -810,7 +810,7 @@ namespace client @@ -810,7 +810,7 @@ namespace client
if (session)
{
// 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)
{
it->m_IsAccepting = true;

Loading…
Cancel
Save