diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-23 19:37:44 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-23 19:37:47 +0200 |
commit | e3b25399868cd074e6b61dda73484f5b969fc3be (patch) | |
tree | bd33aab6bdf30ea62f3d24327b4f90a1cc6fd807 /src | |
parent | common/file_util: Make IOFile's WriteString take a std::string_view (diff) | |
download | yuzu-e3b25399868cd074e6b61dda73484f5b969fc3be.tar yuzu-e3b25399868cd074e6b61dda73484f5b969fc3be.tar.gz yuzu-e3b25399868cd074e6b61dda73484f5b969fc3be.tar.bz2 yuzu-e3b25399868cd074e6b61dda73484f5b969fc3be.tar.lz yuzu-e3b25399868cd074e6b61dda73484f5b969fc3be.tar.xz yuzu-e3b25399868cd074e6b61dda73484f5b969fc3be.tar.zst yuzu-e3b25399868cd074e6b61dda73484f5b969fc3be.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/file_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h index cd5a0c5fc..88760be2f 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -286,8 +286,8 @@ private: template <typename T> void OpenFStream(T& fstream, const std::string& filename, std::ios_base::openmode openmode) { #ifdef _MSC_VER - fstream.open(Common::UTF8ToUTF16W(filename).c_str(), openmode); + fstream.open(Common::UTF8ToUTF16W(filename), openmode); #else - fstream.open(filename.c_str(), openmode); + fstream.open(filename, openmode); #endif } |