pass ident hash by values to RequestComplete

This commit is contained in:
orignal 2015-12-31 11:21:01 -05:00
parent 2cc3dfc2ce
commit 8daa7561fa
2 changed files with 2 additions and 2 deletions

View file

@ -334,7 +334,7 @@ namespace transport
m_Service.post (std::bind (&Transports::HandleRequestComplete, this, r, ident));
}
void Transports::HandleRequestComplete (std::shared_ptr<const i2p::data::RouterInfo> r, const i2p::data::IdentHash& ident)
void Transports::HandleRequestComplete (std::shared_ptr<const i2p::data::RouterInfo> r, i2p::data::IdentHash ident)
{
auto it = m_Peers.find (ident);
if (it != m_Peers.end ())