summaryrefslogtreecommitdiff
path: root/Source/Core/Common/File.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-08-06 07:57:43 -0400
committerLioncash <mathew1800@gmail.com>2017-08-06 07:57:43 -0400
commitf0308151a85546f6a8f663b2b172293702e706a9 (patch)
treeba1a0efd7dd0ba053b00b577dc42b00087f8e157 /Source/Core/Common/File.cpp
parent84ecc0ecc9cf9acf355dbfbd7b15032ffffaa9eb (diff)
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);