mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
shared path between streams
This commit is contained in:
parent
61ad6a2b88
commit
93720fffd4
6 changed files with 68 additions and 10 deletions
|
@ -180,10 +180,10 @@ namespace data
|
|||
}
|
||||
}
|
||||
|
||||
const std::vector<std::shared_ptr<Lease> > LeaseSet::GetNonExpiredLeases (bool withThreshold) const
|
||||
const std::vector<std::shared_ptr<const Lease> > LeaseSet::GetNonExpiredLeases (bool withThreshold) const
|
||||
{
|
||||
auto ts = i2p::util::GetMillisecondsSinceEpoch ();
|
||||
std::vector<std::shared_ptr<Lease> > leases;
|
||||
std::vector<std::shared_ptr<const Lease> > leases;
|
||||
for (auto it: m_Leases)
|
||||
{
|
||||
auto endDate = it->endDate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue