Trivial: Fix indentation in getIntervalsById

Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
This commit is contained in:
Shaun Ruffell 2021-05-13 08:28:07 -05:00 committed by Thomas Lauf
parent 939491d060
commit 3e5aa0d7ec

View file

@ -175,16 +175,16 @@ std::vector <Interval> getIntervalsByIds (
auto exclusions = getAllExclusions (rules, {latest.start, Datetime ()});
if (! exclusions.empty ())
{
// We're converting the latest interval into synthetic intervals so we need to skip it
++it;
// We're converting the latest interval into synthetic intervals so we need to skip it
++it;
for (auto& interval : flatten (latest, exclusions))
{
++current_id;
interval.synthetic = true;
interval.id = current_id;
synthetic.push_front (interval);
}
for (auto& interval : flatten (latest, exclusions))
{
++current_id;
interval.synthetic = true;
interval.id = current_id;
synthetic.push_front (interval);
}
}
}