From 414ef2bc3dbd638d341485d0ffe0eaffe4202b0d Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 4 Apr 2019 16:18:52 -0400 Subject: [PATCH] fixed gcc 4.7 build --- libi2pd_client/AddressBook.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libi2pd_client/AddressBook.cpp b/libi2pd_client/AddressBook.cpp index 04e5d6bf..fb335c1c 100644 --- a/libi2pd_client/AddressBook.cpp +++ b/libi2pd_client/AddressBook.cpp @@ -445,7 +445,8 @@ namespace client } else { - m_Addresses.emplace (name, std::make_shared
(ident->GetIdentHash ())); + //m_Addresses.emplace (name, std::make_shared
(ident->GetIdentHash ())); + m_Addresses[name] = std::make_shared
(ident->GetIdentHash ()); // for gcc 4.7 m_Storage->AddAddress (ident); if (is_update) LogPrint (eLogInfo, "Addressbook: added new host: ", name);