data: getUntracked now obeys filters

This commit is contained in:
Paul Beckingham 2016-05-16 08:32:33 -05:00
parent 59dd340c3f
commit 947e78e035

View file

@ -615,7 +615,7 @@ std::vector <Range> getUntracked (
Interval& filter)
{
std::vector <Range> inclusion_ranges;
for (auto& i : getAllInclusions (database))
for (auto& i : subset (filter, getAllInclusions (database)))
inclusion_ranges.push_back (i.range);
auto available = subtractRanges ({filter.range}, getAllExclusions (rules, filter.range));