diff --git a/PowerEditor/src/MISC/Common/Common.cpp b/PowerEditor/src/MISC/Common/Common.cpp index 1f2223d16..873ae4a56 100644 --- a/PowerEditor/src/MISC/Common/Common.cpp +++ b/PowerEditor/src/MISC/Common/Common.cpp @@ -718,7 +718,7 @@ generic_string stringReplace(generic_string subject, const generic_string& searc return subject; } -std::vector stringSplit(const generic_string& input, const generic_string &delimiter) +std::vector stringSplit(const generic_string& input, const generic_string& delimiter) { auto start = 0U; auto end = input.find(delimiter); @@ -734,7 +734,7 @@ std::vector stringSplit(const generic_string& input, const gener return output; } -generic_string stringJoin(const std::vector &strings, const generic_string &separator) +generic_string stringJoin(const std::vector& strings, const generic_string& separator) { generic_string joined; size_t length = strings.size(); @@ -749,7 +749,7 @@ generic_string stringJoin(const std::vector &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 &lines) +bool allLinesAreNumeric(const std::vector& lines) { const auto endit = lines.end(); for (auto it = lines.begin(); it != endit; ++it) diff --git a/PowerEditor/src/MISC/Common/Common.h b/PowerEditor/src/MISC/Common/Common.h index e8c528848..a8dc3143a 100644 --- a/PowerEditor/src/MISC/Common/Common.h +++ b/PowerEditor/src/MISC/Common/Common.h @@ -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 stringSplit(const generic_string& input, const generic_string &delimiter); -generic_string stringJoin(const std::vector &strings, const generic_string &separator); -int stoiStrict(const generic_string &input); -bool allLinesAreNumeric(const std::vector &lines); +std::vector stringSplit(const generic_string& input, const generic_string& delimiter); +generic_string stringJoin(const std::vector& strings, const generic_string& separator); +int stoiStrict(const generic_string& input); +bool allLinesAreNumeric(const std::vector& lines); std::vector numericSort(std::vector input, bool isDescending); std::vector lexicographicSort(std::vector input, bool isDescending);