DiscIO/VolumeVerifier: Make no-argument overload of GetBiggestUsedOffset() const

The overload taking a partition is already a const member function, so
this one can be turned into one as well.
This commit is contained in:
Lioncash 2019-05-27 10:33:02 -04:00
parent bf6948c1d4
commit d220e33862
2 changed files with 2 additions and 2 deletions

View File

@ -446,7 +446,7 @@ void VolumeVerifier::CheckDiscSize()
}
}
u64 VolumeVerifier::GetBiggestUsedOffset()
u64 VolumeVerifier::GetBiggestUsedOffset() const
{
std::vector<Partition> partitions = m_volume.GetPartitions();
if (partitions.empty())

View File

@ -99,7 +99,7 @@ private:
bool ShouldHaveMasterpiecePartitions() const;
bool ShouldBeDualLayer() const;
void CheckDiscSize();
u64 GetBiggestUsedOffset();
u64 GetBiggestUsedOffset() const;
u64 GetBiggestUsedOffset(const FileInfo& file_info) const;
void CheckMisc();
void SetUpHashing();