drop gcc 4.7 support

This commit is contained in:
orignal 2020-09-26 19:32:19 -04:00
parent f939a7b349
commit 335f9394a5
3 changed files with 27 additions and 47 deletions

View file

@ -603,9 +603,8 @@ namespace client
return;
}
auto s = shared_from_this ();
// we must capture this for gcc 4.7 due the bug
RequestLeaseSet (ls->GetStoreHash (),
[s, ls, this](std::shared_ptr<const i2p::data::LeaseSet> leaseSet)
[s, ls](std::shared_ptr<const i2p::data::LeaseSet> leaseSet)
{
if (leaseSet)
{