Changeset d82315950cc7…
Parent 35f564fa1af4…
by
Changes to 2 files · Browse files at d82315950cc7 Showing diff from parent 35f564fa1af4 Diff from another changeset...
@@ -139,23 +139,3 @@ wide[ret] = L'\0';
return wide;
}
-
-
-// Serialize a vector of strings
-std::string SerializeStringVector(const std::vector<std::string>& vStrings,
- const std::string& sDelimiter)
-{
- std::string sResult;
- std::vector<std::string>::const_iterator it = vStrings.begin();
- if (it != vStrings.end())
- {
- sResult = *it;
- it++;
- }
- while (it != vStrings.end())
- {
- sResult += sDelimiter + *it;
- it++;
- }
- return sResult;
-}
|
@@ -54,9 +54,5 @@ // Convert multibyte string to Unicode string
std::wstring MultibyteToWide(const std::string& multibyte, UINT CodePage = CP_ACP);
-// Serialize a vector of strings
-std::string SerializeStringVector(const std::vector<std::string>& vStrings,
- const std::string& sDelimiter);
-
#endif
|
Loading...