Skip to content
Permalink
Browse files
Merge pull request #5891 from lioncash/const
File: Make GetSize() a const member function
  • Loading branch information
leoetlino committed Aug 6, 2017
2 parents 7a74e8a + f030815 commit 1833354
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -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);
@@ -74,7 +74,7 @@ class IOFile : public NonCopyable

bool Seek(s64 off, int origin);
u64 Tell() const;
u64 GetSize();
u64 GetSize() const;
bool Resize(u64 size);
bool Flush();

0 comments on commit 1833354

Please sign in to comment.