Use fields directly instead of via parameters to calculate indent size

This commit is contained in:
Thomas Lauf 2019-01-30 18:34:54 +01:00
parent c7b7b483ba
commit cf88f1585a
2 changed files with 7 additions and 11 deletions

View file

@ -39,7 +39,7 @@ public:
std::string render (const Interval&, const std::vector <Interval>&, const std::vector <Range>&, const std::map <Datetime, std::string>&, const std::map <std::string, Color>&, const Color&, const Color&, const Color&, const Color&, bool, bool, bool, bool, bool, bool, bool, int, int, int);
private:
unsigned long getIndentSize (bool, bool, bool, bool);
unsigned long getIndentSize ();
std::pair <int, int> determineHourRange (const Interval&, const std::vector <Interval>&);