Merge pull request #4253 from wwylele/string-util-cleanup
common/string_util cleanup
This commit is contained in:
commit
4a5a97ab88
4 changed files with 7 additions and 158 deletions
|
@ -263,7 +263,7 @@ private:
|
|||
template <typename T>
|
||||
void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmode openmode) {
|
||||
#ifdef _MSC_VER
|
||||
fstream.open(Common::UTF8ToTStr(filename).c_str(), openmode);
|
||||
fstream.open(Common::UTF8ToUTF16W(filename).c_str(), openmode);
|
||||
#else
|
||||
fstream.open(filename.c_str(), openmode);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue