mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
helper: Removed eclipsing loop variable
This commit is contained in:
parent
31d2ebe488
commit
e814aa7e35
1 changed files with 4 additions and 4 deletions
|
@ -521,11 +521,11 @@ std::vector <Daterange> combineHolidaysAndExclusions (
|
||||||
if (exclusion.tokens ()[1] == "day")
|
if (exclusion.tokens ()[1] == "day")
|
||||||
{
|
{
|
||||||
if (exclusion.additive ())
|
if (exclusion.additive ())
|
||||||
for (auto& range : exclusion.ranges (range))
|
for (auto& r : exclusion.ranges (range))
|
||||||
daysOn.push_back (range);
|
daysOn.push_back (r);
|
||||||
else
|
else
|
||||||
for (auto& range : exclusion.ranges (range))
|
for (auto& r : exclusion.ranges (range))
|
||||||
daysOff.push_back (range);
|
daysOff.push_back (r);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue