fixed gcc 4.7 build

pull/1347/head
orignal 5 years ago
parent 3236827781
commit 07bbbbaf61

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

Loading…
Cancel
Save