mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
Build with clang on linux fixed
This commit is contained in:
parent
3f3103572a
commit
25b8a18224
3 changed files with 4 additions and 12 deletions
|
@ -526,7 +526,7 @@ namespace client
|
|||
{
|
||||
if (!m_Pool || !IsReady ())
|
||||
{
|
||||
if (requestComplete) requestComplete (false);
|
||||
if (requestComplete) requestComplete (nullptr);
|
||||
return false;
|
||||
}
|
||||
m_Service.post (std::bind (&ClientDestination::RequestLeaseSet, this, dest, requestComplete));
|
||||
|
@ -630,7 +630,7 @@ namespace client
|
|||
|
||||
if (done)
|
||||
{
|
||||
if (it->second->requestComplete) it->second->requestComplete (false);
|
||||
if (it->second->requestComplete) it->second->requestComplete (nullptr);
|
||||
delete it->second;
|
||||
m_LeaseSetRequests.erase (it);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue