mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Add a namespace to OpenFStream
For consistency with the other functions in FileUtil.h.
This commit is contained in:
parent
f09ceaa735
commit
cf94ce6305
15 changed files with 24 additions and 24 deletions
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue