File: Make GetSize() a const member function

This commit is contained in:
Lioncash 2017-08-06 07:57:43 -04:00
commit f0308151a8
2 changed files with 2 additions and 2 deletions

View file

@ -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);