Cleanup: Don't use string literals when character literals are needed

This commit is contained in:
Paul Beckingham
2016-10-14 23:11:28 -04:00
parent 95f4989f77
commit 8922728888
27 changed files with 122 additions and 122 deletions

View File

@@ -214,7 +214,7 @@ Chart::Chart (char type)
std::vector <std::string> words = context.cli2.getWords ();
std::string filter;
join (filter, " ", words);
_title = "(" + filter + ")";
_title = '(' + filter + ')';
}
////////////////////////////////////////////////////////////////////////////////
@@ -860,7 +860,7 @@ void Chart::calculateRates ()
_completion = end.toString (format)
+ " ("
+ delta.formatVague ()
+ ")";
+ ')';
std::stringstream completion_message;
completion_message << "Chart::calculateRates ("