DiscIO/VolumeVerifier: Default destructor within the cpp file

Given the volume verifier has quite a few non-trivial object within it,
it's best to default the destructor within the cpp file to prevent
inlining complex destruction logic elsewhere, while also making it nicer
if a forward-declared type is ever used in a member variable.
This commit is contained in:
Lioncash 2019-05-27 10:19:49 -04:00
parent 0ccaa2b5d6
commit 52eb2d0d82
2 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,8 @@ VolumeVerifier::VolumeVerifier(const Volume& volume, Hashes<bool> hashes_to_calc
{
}
VolumeVerifier::~VolumeVerifier() = default;
void VolumeVerifier::Start()
{
ASSERT(!m_started);

View File

@ -72,6 +72,8 @@ public:
};
VolumeVerifier(const Volume& volume, Hashes<bool> hashes_to_calculate);
~VolumeVerifier();
void Start();
void Process();
u64 GetBytesProcessed() const;