mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
fixed gcc 4.7 build
This commit is contained in:
parent
3236827781
commit
07bbbbaf61
1 changed files with 2 additions and 1 deletions
|
@ -600,8 +600,9 @@ namespace client
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
auto s = shared_from_this ();
|
auto s = shared_from_this ();
|
||||||
|
// we must capture this for gcc 4.7 due the bug
|
||||||
RequestLeaseSet (ls->GetStoreHash (),
|
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)
|
if (leaseSet)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue