diff --git a/libi2pd/Destination.cpp b/libi2pd/Destination.cpp index 89baf945..ba90342c 100644 --- a/libi2pd/Destination.cpp +++ b/libi2pd/Destination.cpp @@ -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 leaseSet) + [s, ls, this](std::shared_ptr leaseSet) { if (leaseSet) {