Make reference signs consistent.

pull/44/head
Andreas Jönsson 2015-05-10 10:25:56 +02:00
parent 83c16755ab
commit 501ce1d689
2 changed files with 8 additions and 8 deletions

View File

@ -718,7 +718,7 @@ generic_string stringReplace(generic_string subject, const generic_string& searc
return subject;
}
std::vector<generic_string> stringSplit(const generic_string& input, const generic_string &delimiter)
std::vector<generic_string> stringSplit(const generic_string& input, const generic_string& delimiter)
{
auto start = 0U;
auto end = input.find(delimiter);
@ -734,7 +734,7 @@ std::vector<generic_string> stringSplit(const generic_string& input, const gener
return output;
}
generic_string stringJoin(const std::vector<generic_string> &strings, const generic_string &separator)
generic_string stringJoin(const std::vector<generic_string>& strings, const generic_string& separator)
{
generic_string joined;
size_t length = strings.size();
@ -749,7 +749,7 @@ generic_string stringJoin(const std::vector<generic_string> &strings, const gene
return joined;
}
int stoiStrict(const generic_string &input)
int stoiStrict(const generic_string& input)
{
if (input.empty())
{
@ -778,7 +778,7 @@ int stoiStrict(const generic_string &input)
}
}
bool allLinesAreNumeric(const std::vector<generic_string> &lines)
bool allLinesAreNumeric(const std::vector<generic_string>& lines)
{
const auto endit = lines.end();
for (auto it = lines.begin(); it != endit; ++it)

View File

@ -188,10 +188,10 @@ generic_string PathAppend(generic_string &strDest, const generic_string & str2ap
COLORREF getCtrlBgColor(HWND hWnd);
generic_string stringToUpper(generic_string strToConvert);
generic_string stringReplace(generic_string subject, const generic_string& search, const generic_string& replace);
std::vector<generic_string> stringSplit(const generic_string& input, const generic_string &delimiter);
generic_string stringJoin(const std::vector<generic_string> &strings, const generic_string &separator);
int stoiStrict(const generic_string &input);
bool allLinesAreNumeric(const std::vector<generic_string> &lines);
std::vector<generic_string> stringSplit(const generic_string& input, const generic_string& delimiter);
generic_string stringJoin(const std::vector<generic_string>& strings, const generic_string& separator);
int stoiStrict(const generic_string& input);
bool allLinesAreNumeric(const std::vector<generic_string>& lines);
std::vector<generic_string> numericSort(std::vector<generic_string> input, bool isDescending);
std::vector<generic_string> lexicographicSort(std::vector<generic_string> input, bool isDescending);