summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-01-11 18:00:22 -0500
committerLioncash <mathew1800@gmail.com>2017-01-12 12:34:06 -0500
commit6f08ef9a2505bf784efdd3ca9419aa2f9bb14c4e (patch)
treeac8781b5a1e5e2ee83f204cdc0624dbd5beda19d /Source/Core/Common/FileUtil.cpp
parented6e346664c202468aa9954b5ddc72e19fbe5618 (diff)
IOFile: Get rid of IOFile's ReleaseHandle function
Transfer of handles should be done via std::move.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
-rw-r--r--Source/Core/Common/FileUtil.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp
index 4094f5edcf..59c7412072 100644
--- a/Source/Core/Common/FileUtil.cpp
+++ b/Source/Core/Common/FileUtil.cpp
@@ -947,13 +947,6 @@ bool IOFile::Close()
return m_good;
}
-std::FILE* IOFile::ReleaseHandle()
-{
- std::FILE* const ret = m_file;
- m_file = nullptr;
- return ret;
-}
-
void IOFile::SetHandle(std::FILE* file)
{
Close();