From 947e78e0359586865bc908b11c8ae5d63c1f6b43 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 16 May 2016 08:32:33 -0500 Subject: [PATCH] data: getUntracked now obeys filters --- src/data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data.cpp b/src/data.cpp index 620cf565..14c3c854 100644 --- a/src/data.cpp +++ b/src/data.cpp @@ -615,7 +615,7 @@ std::vector getUntracked ( Interval& filter) { std::vector 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));