summaryrefslogtreecommitdiff
path: root/Source/Core/Common/File.cpp
diff options
context:
space:
mode:
authorLeo Lam <leolino.lam@gmail.com>2017-08-07 00:46:49 +0800
committerGitHub <noreply@github.com>2017-08-07 00:46:49 +0800
commit1833354ef95506925fe7e8c9231212bd665bcc3c (patch)
tree8165b8cf06d088dbfa6e926dfcc74f7c12120311 /Source/Core/Common/File.cpp
parent7a74e8ad0b29492f6834651da15a2f08abde5de0 (diff)
parentf0308151a85546f6a8f663b2b172293702e706a9 (diff)
Merge pull request #5891 from lioncash/const
File: Make GetSize() a const member function
Diffstat (limited to 'Source/Core/Common/File.cpp')
-rw-r--r--Source/Core/Common/File.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/File.cpp b/Source/Core/Common/File.cpp
index f3ede54fc2..9dfcdbd7d8 100644
--- a/Source/Core/Common/File.cpp
+++ b/Source/Core/Common/File.cpp
@@ -85,7 +85,7 @@ void IOFile::SetHandle(std::FILE* file)
m_file = file;
}
-u64 IOFile::GetSize()
+u64 IOFile::GetSize() const
{
if (IsOpen())
return File::GetSize(m_file);