From f0308151a85546f6a8f663b2b172293702e706a9 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 6 Aug 2017 07:57:43 -0400 Subject: File: Make GetSize() a const member function --- Source/Core/Common/File.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/File.cpp') 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); -- cgit v1.2.3