mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CmdReportDay: Removed unused argument
This commit is contained in:
parent
c74576f5d1
commit
e05954f404
1 changed files with 2 additions and 3 deletions
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
static void renderAxis (const Rules&, Palette&, const std::string&, int, int);
|
static void renderAxis (const Rules&, Palette&, const std::string&, int, int);
|
||||||
static void renderExclusionBlocks (const Rules&, Composite&, Composite&, Palette&, const Datetime&, int, int, const std::vector <Range>&);
|
static void renderExclusionBlocks (const Rules&, Composite&, Composite&, Palette&, const Datetime&, int, int, const std::vector <Range>&);
|
||||||
static void renderInterval (const Rules&, Composite&, Composite&, const Datetime&, const Interval&, int, Palette&, std::map <std::string, Color>&);
|
static void renderInterval (const Rules&, Composite&, Composite&, const Datetime&, const Interval&, Palette&, std::map <std::string, Color>&);
|
||||||
static void renderSummary (const std::string&, const std::vector <Range>&, const std::vector <Interval>&);
|
static void renderSummary (const std::string&, const std::vector <Range>&, const std::vector <Interval>&);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -99,7 +99,7 @@ int CmdReportDay (
|
||||||
renderExclusionBlocks (rules, line1, line2, palette, day, first_hour, last_hour, exclusions);
|
renderExclusionBlocks (rules, line1, line2, palette, day, first_hour, last_hour, exclusions);
|
||||||
|
|
||||||
for (auto& track : tracked)
|
for (auto& track : tracked)
|
||||||
renderInterval (rules, line1, line2, day, track, first_hour, palette, tag_colors);
|
renderInterval (rules, line1, line2, day, track, palette, tag_colors);
|
||||||
|
|
||||||
std::cout << indent << line1.str () << '\n'
|
std::cout << indent << line1.str () << '\n'
|
||||||
<< indent << line2.str () << '\n'
|
<< indent << line2.str () << '\n'
|
||||||
|
@ -187,7 +187,6 @@ static void renderInterval (
|
||||||
Composite& line2,
|
Composite& line2,
|
||||||
const Datetime& day,
|
const Datetime& day,
|
||||||
const Interval& track,
|
const Interval& track,
|
||||||
int first_hour,
|
|
||||||
Palette& palette,
|
Palette& palette,
|
||||||
std::map <std::string, Color>& tag_colors)
|
std::map <std::string, Color>& tag_colors)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue