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:
parent
0ccaa2b5d6
commit
52eb2d0d82
|
@ -54,6 +54,8 @@ VolumeVerifier::VolumeVerifier(const Volume& volume, Hashes<bool> hashes_to_calc
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VolumeVerifier::~VolumeVerifier() = default;
|
||||||
|
|
||||||
void VolumeVerifier::Start()
|
void VolumeVerifier::Start()
|
||||||
{
|
{
|
||||||
ASSERT(!m_started);
|
ASSERT(!m_started);
|
||||||
|
|
|
@ -72,6 +72,8 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
VolumeVerifier(const Volume& volume, Hashes<bool> hashes_to_calculate);
|
VolumeVerifier(const Volume& volume, Hashes<bool> hashes_to_calculate);
|
||||||
|
~VolumeVerifier();
|
||||||
|
|
||||||
void Start();
|
void Start();
|
||||||
void Process();
|
void Process();
|
||||||
u64 GetBytesProcessed() const;
|
u64 GetBytesProcessed() const;
|
||||||
|
|
Loading…
Reference in New Issue