Skip to content
Browse files

DiscIO/VolumeVerifier: Make no-argument overload of GetBiggestUsedOff…

…set() const

The overload taking a partition is already a const member function, so
this one can be turned into one as well.
  • Loading branch information...
lioncash committed May 27, 2019
1 parent bf6948c commit d220e33862c68404efb66f971d778fa6fdb762e1
Showing with 2 additions and 2 deletions.
  1. +1 −1 Source/Core/DiscIO/VolumeVerifier.cpp
  2. +1 −1 Source/Core/DiscIO/VolumeVerifier.h
@@ -446,7 +446,7 @@ void VolumeVerifier::CheckDiscSize()

u64 VolumeVerifier::GetBiggestUsedOffset()
u64 VolumeVerifier::GetBiggestUsedOffset() const
std::vector<Partition> partitions = m_volume.GetPartitions();
if (partitions.empty())
@@ -99,7 +99,7 @@ class VolumeVerifier final
bool ShouldHaveMasterpiecePartitions() const;
bool ShouldBeDualLayer() const;
void CheckDiscSize();
u64 GetBiggestUsedOffset();
u64 GetBiggestUsedOffset() const;
u64 GetBiggestUsedOffset(const FileInfo& file_info) const;
void CheckMisc();
void SetUpHashing();

0 comments on commit d220e33

Please sign in to comment.
You can’t perform that action at this time.