mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Add a namespace to OpenFStream
For consistency with the other functions in FileUtil.h.
This commit is contained in:
@ -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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user