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:
parent
bf6948c1d4
commit
d220e33862
|
@ -446,7 +446,7 @@ void VolumeVerifier::CheckDiscSize()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
u64 VolumeVerifier::GetBiggestUsedOffset()
|
u64 VolumeVerifier::GetBiggestUsedOffset() const
|
||||||
{
|
{
|
||||||
std::vector<Partition> partitions = m_volume.GetPartitions();
|
std::vector<Partition> partitions = m_volume.GetPartitions();
|
||||||
if (partitions.empty())
|
if (partitions.empty())
|
||||||
|
|
|
@ -99,7 +99,7 @@ private:
|
||||||
bool ShouldHaveMasterpiecePartitions() const;
|
bool ShouldHaveMasterpiecePartitions() const;
|
||||||
bool ShouldBeDualLayer() const;
|
bool ShouldBeDualLayer() const;
|
||||||
void CheckDiscSize();
|
void CheckDiscSize();
|
||||||
u64 GetBiggestUsedOffset();
|
u64 GetBiggestUsedOffset() const;
|
||||||
u64 GetBiggestUsedOffset(const FileInfo& file_info) const;
|
u64 GetBiggestUsedOffset(const FileInfo& file_info) const;
|
||||||
void CheckMisc();
|
void CheckMisc();
|
||||||
void SetUpHashing();
|
void SetUpHashing();
|
||||||
|
|
Loading…
Reference in New Issue