diff --git a/src/data.cpp b/src/data.cpp index 295dc42f..15c3b276 100644 --- a/src/data.cpp +++ b/src/data.cpp @@ -314,22 +314,6 @@ std::vector getAllExclusions ( return addRanges (range, results, exclusionRanges); } -//////////////////////////////////////////////////////////////////////////////// -std::vector getExclusions (const Rules& rules) -{ - // Add exclusions from configuration. - std::vector all; - for (auto& name : rules.all ("exclusions.")) - all.push_back (Exclusion (lowerCase (name), rules.get (name))); - -/* - std::cout << "# getExclusions:\n"; - for (auto& e : all) - std::cout << "# " << e.dump () << "\n"; -*/ - return all; -} - //////////////////////////////////////////////////////////////////////////////// std::vector getAllInclusions (Database& database) { diff --git a/src/timew.h b/src/timew.h index ce266949..01541e96 100644 --- a/src/timew.h +++ b/src/timew.h @@ -39,7 +39,6 @@ // data.cpp Interval getFilter (const CLI&); std::vector getHolidays (const Rules&); -std::vector getExclusions (const Rules&); std::vector getAllExclusions (const Rules&, const Range&); std::vector getAllInclusions (Database&); std::vector subset (const Interval&, const std::vector &);