mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
fixed gcc 4.7 build
This commit is contained in:
parent
ea791309ad
commit
414ef2bc3d
|
@ -445,7 +445,8 @@ namespace client
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_Addresses.emplace (name, std::make_shared<Address>(ident->GetIdentHash ()));
|
//m_Addresses.emplace (name, std::make_shared<Address>(ident->GetIdentHash ()));
|
||||||
|
m_Addresses[name] = std::make_shared<Address>(ident->GetIdentHash ()); // for gcc 4.7
|
||||||
m_Storage->AddAddress (ident);
|
m_Storage->AddAddress (ident);
|
||||||
if (is_update)
|
if (is_update)
|
||||||
LogPrint (eLogInfo, "Addressbook: added new host: ", name);
|
LogPrint (eLogInfo, "Addressbook: added new host: ", name);
|
||||||
|
|
Loading…
Reference in a new issue