shared path between streams

This commit is contained in:
orignal 2016-02-10 22:51:08 -05:00
parent 61ad6a2b88
commit 93720fffd4
6 changed files with 68 additions and 10 deletions

View file

@ -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;