From fdc37c037f603bd09464192106a8fbfaf52d5d93 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 23 Mar 2017 01:51:41 -0400 Subject: [PATCH] CmdHistory: Formatting --- src/commands/CmdHistory.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/commands/CmdHistory.cpp b/src/commands/CmdHistory.cpp index f326488d8..8a09ce474 100644 --- a/src/commands/CmdHistory.cpp +++ b/src/commands/CmdHistory.cpp @@ -58,7 +58,7 @@ CmdHistoryBase::CmdHistoryBase () //////////////////////////////////////////////////////////////////////////////// template -void CmdHistoryBase::outputGraphical (std::string &output) +void CmdHistoryBase::outputGraphical (std::string& output) { auto widthOfBar = context.getWidth () - HistoryStrategy::labelWidth; @@ -189,7 +189,7 @@ void CmdHistoryBase::outputGraphical (std::string &output) //////////////////////////////////////////////////////////////////////////////// template -void CmdHistoryBase::outputTabular (std::string &output) +void CmdHistoryBase::outputTabular (std::string& output) { Table view; setHeaderUnderline (view); @@ -283,7 +283,7 @@ void CmdHistoryBase::outputTabular (std::string &output) class MonthlyHistoryStrategy { public: - static Datetime getRelevantDate (const Datetime & dt) + static Datetime getRelevantDate (const Datetime& dt) { return dt.startOfMonth (); } @@ -385,7 +385,7 @@ int CmdHistoryBase::execute (std::string& output) class MonthlyGHistoryStrategy { public: - static Datetime getRelevantDate (const Datetime & dt) + static Datetime getRelevantDate (const Datetime& dt) { return dt.startOfMonth (); } @@ -428,7 +428,7 @@ public: class AnnualGHistoryStrategy { public: - static Datetime getRelevantDate (const Datetime & dt) + static Datetime getRelevantDate (const Datetime& dt) { return dt.startOfYear (); } @@ -468,7 +468,7 @@ public: class AnnualHistoryStrategy { public: - static Datetime getRelevantDate (const Datetime & dt) + static Datetime getRelevantDate (const Datetime& dt) { return dt.startOfYear (); } @@ -509,7 +509,7 @@ public: class DailyHistoryStrategy { public: - static Datetime getRelevantDate (const Datetime & dt) + static Datetime getRelevantDate (const Datetime& dt) { return dt.startOfDay (); } @@ -556,7 +556,7 @@ public: class DailyGHistoryStrategy { public: - static Datetime getRelevantDate (const Datetime & dt) + static Datetime getRelevantDate (const Datetime& dt) { return dt.startOfDay (); } @@ -603,7 +603,7 @@ public: class WeeklyHistoryStrategy { public: - static Datetime getRelevantDate (const Datetime & dt) + static Datetime getRelevantDate (const Datetime& dt) { return dt.startOfWeek (); } @@ -650,7 +650,7 @@ public: class WeeklyGHistoryStrategy { public: - static Datetime getRelevantDate (const Datetime & dt) + static Datetime getRelevantDate (const Datetime& dt) { return dt.startOfWeek (); }