2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 07:47:42 +00:00

Add Char16ToWide helper function

This commit is contained in:
2017-01-23 23:55:26 -08:00
parent b8abd466dd
commit c840625080
2 changed files with 6 additions and 0 deletions

View File

@@ -640,4 +640,9 @@ std::vector<std::pair<hecl::SystemString, std::string>> GetSystemLocations()
return ret;
}
std::wstring Char16ToWide(const std::u16string& src)
{
return std::wstring(src.begin(), src.end());
}
}