summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IOFile.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-01-29 06:01:03 +0100
committerAdmiral H. Curtiss <pikachu025@gmail.com>2022-01-29 06:49:22 +0100
commita336c4386c154746ef2ea732b13872f5293666be (patch)
tree390c6fed908927a8b6d4bdfb956bf27bbd8b4600 /Source/Core/Common/IOFile.cpp
parent36cfcb530f6810afca93e75c47f767a453a99361 (diff)
IOFile: Rename Clear() to ClearError() for clarity.
Diffstat (limited to 'Source/Core/Common/IOFile.cpp')
-rw-r--r--Source/Core/Common/IOFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/IOFile.cpp b/Source/Core/Common/IOFile.cpp
index e0f16582be..374c56ac6f 100644
--- a/Source/Core/Common/IOFile.cpp
+++ b/Source/Core/Common/IOFile.cpp
@@ -94,7 +94,7 @@ bool IOFile::Close()
void IOFile::SetHandle(std::FILE* file)
{
Close();
- Clear();
+ ClearError();
m_file = file;
}