mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 00:20:46 +00:00 
			
		
		
		
	fixed build for C++11
This commit is contained in:
		
							parent
							
								
									2eded7cdd7
								
							
						
					
					
						commit
						cc75efcbca
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
					@ -1104,18 +1104,22 @@ namespace client
 | 
				
			||||||
			if (leaseSet)
 | 
								if (leaseSet)
 | 
				
			||||||
				m_StreamingDestination->SendPing (leaseSet);
 | 
									m_StreamingDestination->SendPing (leaseSet);
 | 
				
			||||||
			else
 | 
								else
 | 
				
			||||||
 | 
								{	
 | 
				
			||||||
 | 
									auto s = m_StreamingDestination;
 | 
				
			||||||
				RequestDestination (to,
 | 
									RequestDestination (to,
 | 
				
			||||||
					[s = m_StreamingDestination](std::shared_ptr<const i2p::data::LeaseSet> ls)
 | 
										[s](std::shared_ptr<const i2p::data::LeaseSet> ls)
 | 
				
			||||||
					{
 | 
										{
 | 
				
			||||||
						if (ls) s->SendPing (ls);
 | 
											if (ls) s->SendPing (ls);
 | 
				
			||||||
					});
 | 
										});
 | 
				
			||||||
 | 
								}		
 | 
				
			||||||
		}	
 | 
							}	
 | 
				
			||||||
	}	
 | 
						}	
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	void ClientDestination::SendPing (std::shared_ptr<const i2p::data::BlindedPublicKey> to)
 | 
						void ClientDestination::SendPing (std::shared_ptr<const i2p::data::BlindedPublicKey> to)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
 | 
							auto s = m_StreamingDestination;
 | 
				
			||||||
		RequestDestinationWithEncryptedLeaseSet (to,
 | 
							RequestDestinationWithEncryptedLeaseSet (to,
 | 
				
			||||||
			[s = m_StreamingDestination](std::shared_ptr<const i2p::data::LeaseSet> ls)
 | 
								[s](std::shared_ptr<const i2p::data::LeaseSet> ls)
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				if (ls) s->SendPing (ls);
 | 
									if (ls) s->SendPing (ls);
 | 
				
			||||||
			});                                      
 | 
								});                                      
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue