This commit is contained in:
Pavel Melkozerov 2017-01-27 15:22:20 +00:00 committed by GitHub
commit 8a85ae88c3
16 changed files with 65 additions and 61 deletions

View file

@ -173,7 +173,7 @@ namespace data
const std::vector<std::shared_ptr<const Lease> > LeaseSet::GetNonExpiredLeases (bool withThreshold) const
{
return GetNonExpiredLeasesExcluding( [] (const Lease & l) -> bool { return false; }, withThreshold);
return GetNonExpiredLeasesExcluding( [] (const Lease &) -> bool { return false; }, withThreshold);
}
const std::vector<std::shared_ptr<const Lease> > LeaseSet::GetNonExpiredLeasesExcluding (LeaseInspectFunc exclude, bool withThreshold) const