summaryrefslogtreecommitdiff
path: root/Source/Core/Common/LinearDiskCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/LinearDiskCache.h')
-rw-r--r--Source/Core/Common/LinearDiskCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/LinearDiskCache.h b/Source/Core/Common/LinearDiskCache.h
index fae1dfc3f5..e97f23a11f 100644
--- a/Source/Core/Common/LinearDiskCache.h
+++ b/Source/Core/Common/LinearDiskCache.h
@@ -124,7 +124,7 @@ public:
// failed to open file for reading or bad header
// close and recreate file
Close();
- m_file.open(filename, ios_base::out | ios_base::trunc | ios_base::binary);
+ File::OpenFStream(m_file, filename, ios_base::out | ios_base::trunc | ios_base::binary);
WriteHeader();
return 0;
}