summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2017-01-13 08:15:23 +1300
committerGitHub <noreply@github.com>2017-01-13 08:15:23 +1300
commit119dfbb436b37ce156f016286dbba02ba26381f8 (patch)
treeea27a8d8b183f556d91eeb12c3fb4babb14a06ba /Source/Core/Common/FileUtil.cpp
parent0b6e5765ddda6a437d9ae999bc8d8f59cb5e76fc (diff)
parent6f08ef9a2505bf784efdd3ca9419aa2f9bb14c4e (diff)
Merge pull request #4648 from lioncash/iofile
IOFile: Get rid of IOFile's ReleaseHandle function
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();