diff options
| author | JosJuice <josjuice@gmail.com> | 2017-01-15 22:46:43 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-06-15 21:34:04 +0200 |
| commit | cf94ce63051458a2d8ac8b340a1020b863f1a6dd (patch) | |
| tree | 89f54c7ce532186cf87d0d64270bf2ec77d78643 /Source/Core/Common/IniFile.cpp | |
| parent | f09ceaa735080b8cde5f9102e7f061530d9b474e (diff) | |
Add a namespace to OpenFStream
For consistency with the other functions in FileUtil.h.
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
| -rw-r--r-- | Source/Core/Common/IniFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp index 1543d0f96f..5c38dd6a19 100644 --- a/Source/Core/Common/IniFile.cpp +++ b/Source/Core/Common/IniFile.cpp @@ -401,7 +401,7 @@ bool IniFile::Load(const std::string& filename, bool keep_current_data) // Open file std::ifstream in; - OpenFStream(in, filename, std::ios::in); + File::OpenFStream(in, filename, std::ios::in); if (in.fail()) return false; @@ -474,7 +474,7 @@ bool IniFile::Save(const std::string& filename) { std::ofstream out; std::string temp = File::GetTempFilenameForAtomicWrite(filename); - OpenFStream(out, temp, std::ios::out); + File::OpenFStream(out, temp, std::ios::out); if (out.fail()) { |
